firebase / codelab-friendlychat-android

Firebase FriendlyChat codelab
Apache License 2.0
246 stars 340 forks source link

Sign in with email: NEXT button does not work #253

Open hlumca opened 1 year ago

hlumca commented 1 year ago

Android Studio: Flamingo | 2022.2.1 Patch 1 OS: Windows 10 I am running into a problem at https://firebase.google.com/codelabs/firebase-android#5 When I run my code in the emulator, I get a screen that has a red "Sign in with email" button. In the Sign In screen, I enter user@test.com. When I click on the NEXT button, I see the progress bar flash under the title. However, I am still on the screen that is prompting for email. I was expecting a prompt for the password. How can I determine what is wrong?

CookieStudios5609 commented 1 year ago

A temporary fix is to comment out the if (BuildConfig.DEBUG) line and its closing bracket. There's a couple dozen different packages your IDE might try to import BuildConfig from, and it seems like none of them work. Will update if I find one that does, though!