Skip to content

AuthUI appearance differs between debug build and release build #2209

@yuki-toriyama

Description

@yuki-toriyama

Details

The appearance of AuthUI may differ between debug build and release build.
In the debug build, the style I appied seems to be applied correctly(but the color of the button is strange...),
but in the release build, the background color seems different from which I applied(but also the color of button #8BC34A seems correct).

Is this a bug? or is there a problem with my code?

debug build release build
Image Image

Context

  • OS version
    • 14
  • Target SDK version
    • 34
  • com.firebaseui:firebase-ui-auth
    • 8.0.2

Code Sample

            AuthUI.getInstance(firebaseAuth.app)
                    .createSignInIntentBuilder()
                    .setTheme(R.style.FirebaseUITheme)
    <style name="FirebaseUITheme" parent="FirebaseUI">
        <item name="colorPrimary">#8BC34A</item>
        <item name="colorOnPrimary">#FFFFFF</item>
        <item name="colorError">#E4007F</item>
        <item name="android:statusBarColor">#FFFFFF</item>
        <item name="android:textColorPrimary">#E1000000</item>
        <item name="android:textColorSecondary">#4285F4</item>
        <item name="android:textColorTertiary">#8B000000</item>
        <item name="android:textColorHint">#61000000</item>
        <item name="actionBarTheme">@style/FirebaseUITheme.ActionBar</item>
    </style>

    <style name="FirebaseUITheme.ActionBar" parent="ThemeOverlay.AppCompat.ActionBar">
        <item name="colorPrimary">#FFFFFF</item>
        <item name="android:textColorPrimary">#45322B</item>
    </style>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions