RTL support
See original GitHub issue- Android device: LG Spirit 4G LTE
- Android OS version: 6.0
- Google Play Services version: 10.0.84
- Firebase/Play Services SDK version: 10.0.1
- FirebaseUI version: 1.1.0
Step 3: Describe the problem:
FirebaseUI doesn’t support RTL. Manifest merger fail.
Steps to reproduce:
- Add
android:supportsRtl="true"
to application tag in AndroidManifest - build
Observed Results:
- Error shows:
Error:Execution failed for task ':common:processDebugAndroidTestManifest'.
> Manifest merger failed : Attribute application@supportsRtl value=(false) from [com.firebaseui:firebase-ui-auth:1.1.0] AndroidManifest.xml:14:18-45
is also present at [com.lapism:searchview:4.0] AndroidManifest.xml:11:18-44 value=(true).
Suggestion: add 'tools:replace="android:supportsRtl"' to <application> element at manifestMerger1460875751612441869.xml:7:5-9:19 to override.
Expected Results:
- No error.
Temporary solution:
- Add
android:supportsRtl="true"
andtools:replace="supportsRtl"
to AndroidManifest
Issue Analytics
- State:
- Created 7 years ago
- Reactions:8
- Comments:8 (3 by maintainers)
Top Results From Across the Web
RTL Support in Web Applications - Scott Logic Blog
Typically in web applications supporting one of these languages, everything is reversed, meaning scroll bars, progress indicators, buttons etc.
Read more >RTL Support | Quasar Framework
RTL is tightly coupled to Quasar Language Packs. When Quasar is set to use an RTL language (language pack has “rtl” prop set...
Read more >RTL Support on Android. Here is all you need to know - Medium
To handle them, Android supports RTL layouts from API 17+ i.e., Android 4.2 (Jelly Bean) . Getting Started. In order to support RTL...
Read more >RTL Support - Chakra UI
Chakra UI provides built-in support right-to-left (RTL) languages like arabic and hebrew, out of the box.
Read more >RTL · Bootstrap v5.0
Learn how to enable support for right-to-left text in Bootstrap across our layout, components, and utilities.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
my workaround:
Using
tools:replace="android:supportsRtl"
in your own layout (as @alexodus suggested) is the correct solution. At this time we have only tested FirebaseUI with LTR languages so we use thesupportsRtl=false
property to indicate that to end developers.If we translate into RTL languages in the future we will change the flag.