Closed fabyeah closed 3 years ago
Google Sign in from the web app (using firebaseui-react) works, so the Firebase/Google setup should be correct.
Hi @fabyeah, the issue is with android or iOS?
@oijusti I tested it with android device
It works on iOS.
To make it work on android, it seems like one has to add "SHA certificate fingerprints" to the Android App in the Firebase console project settings.
Kind of cumbersome if you just want to play around and test an app locally without uploading it to Google Play... 🙁
Good catch!
Just for posterity: I actually had the wrong SHA1 set in Firebase. So if you encounter this error, make sure you get the SHA1 from the debug.keystore
in your project's android/app
folder, NOT from some rogue debug.keystore
for example in /Users/<username>/.android/debug.keystore
. You can use keytool -keystore debug.keystore -list -v
in the project's android/app
folder to get the SHA1.
So for development you probably only need that one SHA1 (haven't tried it).
Email sign in works, but when I try to sign in with Google, I'm getting a toast "Code: 10, Message: 10:" and nothing happens.