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
After updating, I am getting a UI issue in Firebase AuthUI. The email enter field, when not focused, is not visible, as shown in the screenshot, even though I have colour controls in styles. It's visible only when I tap on it to activate it.Even if i don't use custom theme ,but use default theme through setTheme(AuthUI.getDefaultTheme()) I got same issue
// Choose authentication providers
val providers = arrayListOf(
AuthUI.IdpConfig.EmailBuilder().build(),
AuthUI.IdpConfig.GoogleBuilder().build()
)
// Create and launch sign-in intent
val signInIntent = AuthUI.getInstance()
.createSignInIntentBuilder()
.setAvailableProviders(providers)
.setTheme(R.style.LoginTheme)
.setLogo(R.drawable.handshake) // Set logo drawable
.build()
signInLauncher.launch(signInIntent)
When not focused
When focused
Steps to reproduce:
Add latest firebase auth ui to project
Click on Sign In With Email button
The text was updated successfully, but these errors were encountered:
bhuvnesh123
changed the title
Email enter field in FirebaseUI is not visible when not focused, even though I have colour controls in styles
The email enter field in FirebaseUI is not visible when not focused, either when using the default or custom theme.
Jun 3, 2023
This is the solution that sort of worked for me. I'm sure there are fixes to be made, but this got the field showing properly with a custom theme. Obviously change the colors as needed.
Step 2: Describe your environment
Step 3: Describe the problem:
I have recently updated the Firebase versions in my project to recent versions:
After updating, I am getting a UI issue in Firebase AuthUI. The email enter field, when not focused, is not visible, as shown in the screenshot, even though I have colour controls in styles. It's visible only when I tap on it to activate it.Even if i don't use custom theme ,but use default theme through
setTheme(AuthUI.getDefaultTheme())
I got same issueWhen using custom theme ,I am using below style :
Code:
When not focused
When focused
Steps to reproduce:
The text was updated successfully, but these errors were encountered: