You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to FirebaseUI and thanks for submitting an issue!
Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.
If not, please feel free to fill in the following info so we can help faster!
Step 1: Are you in the right place?
Yes
Step 2: Describe your environment
Android device: AVD/Emulator
Android OS version: 15
Google Play Services version: N/A
Firebase/Play Services SDK version: N/A
FirebaseUI version: 8.0.2
Step 3: Describe the problem:
UI is broken in Android 15 due to the new edge-to-edge enforcement.
Steps to reproduce:
Use Firebase Android UI Auth
Use Phone Auth provider
Run the project
Observed Results:
Expected Results:
Adapt edge-to-edge or fix the UI to make it look like the way it used to on older Android versions/
Relevant Code:
A temporary solution to this is to opt-out from edge-to-edge by setting the below style attribute and apply the theme using AuthUI.SignInIntentBuilder.setTheme
<!-- Firebase UI theme -->
<style name="Theme.App.FirebaseAuthUI">
<!-- For some reason, Firebase UI use this as textColorLink -->
<item name="colorPrimary">@color/mdc_colorAccent</item>
<!-- Use by Toolbar title color -->
<!-- Use by Outlined text field color (unfocused) -->
<!-- Use by OTP dashes color -->
<!-- Use by Button disabled color -->
<item name="colorOnSurface">@color/mdc_colorPrimary_White</item>
<!-- TextInputLayout and button shape -->
<item name="shapeAppearanceSmallComponent">@style/ShapeAppearance.MDC.SmallComponent</item> <!-- TODO FirebaseUI still uses MDC 2, remove this once they migrated to MDC 3 -->
<item name="shapeAppearanceCornerExtraSmall">@style/ShapeAppearance.MDC.SmallComponent</item>
<item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">true</item> <!-- TODO FirebaseUI does not yet support edge-to-edge enforcement of Android 15, remove this once they adapted -->
</style>
Welcome to FirebaseUI and thanks for submitting an issue!
Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.
If not, please feel free to fill in the following info so we can help faster!
Step 1: Are you in the right place?
Yes
Step 2: Describe your environment
Step 3: Describe the problem:
UI is broken in Android 15 due to the new edge-to-edge enforcement.
Steps to reproduce:
Observed Results:
Expected Results:
Adapt edge-to-edge or fix the UI to make it look like the way it used to on older Android versions/
Relevant Code:
A temporary solution to this is to opt-out from edge-to-edge by setting the below style attribute and apply the theme using
AuthUI.SignInIntentBuilder.setTheme
The text was updated successfully, but these errors were encountered: