Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Sign in failure in playstore build

I've created a release build which is working fine i.e. I'm able to login using Google sign in. I've uploaded the same build to playstore and now the sign in won't work.

I have also cross checked SHA-1 many times and it is of my keystore i.e. release one.

I'm able to receive fcm but not able to sign in.

like image 829
Ankit Khare Avatar asked Dec 24 '22 14:12

Ankit Khare


2 Answers

Few months ago Google changed behaviour of signing apps. After you upload APK Google signs it with another key. You must download this key from Google Play Console and add it's SHA too. Check this for more information

https://support.google.com/googleplay/android-developer/answer/7384423?hl=en

enter image description here

like image 61
Dima Rostopira Avatar answered Dec 27 '22 03:12

Dima Rostopira


I Have solved the issue by using simple method put blue highlighted sha1 certificate fingerprint string (that is marked in the picture ) into firebase console too, as like

put that SHA1 key to firebase console under project setting.

Go to -> https://console.firebase.google.com select project -> click setting button icon -> choose project setting -> scroll to down -> click ADD FINGERPRINT button put SHA1 Key here -> and Save

like image 30
Arun-Khanka Avatar answered Dec 27 '22 03:12

Arun-Khanka