baumblatt / capacitor-firebase-auth

Capacitor Firebase Authentication Plugin
MIT License
261 stars 129 forks source link

Google sign in failure on android #157

Open othman95 opened 3 years ago

othman95 commented 3 years ago

Hello all, i spent 2 days trying to fix this issue, im getting com.google.android.gms.common.api.ApiException: 10 i know this error means that SHA1 are not there in firebase or app is not signed but i signed my app and added SHA1 to firebase

The steps i tried: 1- Add App signing key certificate SHA1 and Upload key certificate SHA1 to firebase project 2- In android studio -> Build -> Generate signed bundle/apk -> my certificate -> debug then i tried with both V1 and V2 signatures 3- I added the google-services.json and updated my gradle.build

my settings: capacitor-firebase-auth: 2.3.5 firebase: 7.24.0

i need help to get it to work. let me know if i should share anything else.

JoelAH commented 2 years ago

Did you get this fixed? Experiencing the same.

JoelAH commented 2 years ago

Ok i figured it out. I was uploading the sha1 from my keystore, but I needed to grab the one from my google play console and add to firebase

svmszcck commented 2 years ago

Yes solution for me was also adding the SHA keys from Play Store. If they are missing you can't login on the published app.