Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

firebase phone authentication not working after .apk released in play store even after I have updated sha1 in firebase console

Firebase phone authentication not working after .apk released in play store even after I have updated sha1 in firebase console after that I have generated google-services.json again and updated json file in android studio project.

There was many other sha1 was also present in firebase console project setting should I delete them before generating new google-services.json

like image 563
Usama Ahmed Avatar asked Oct 16 '17 13:10

Usama Ahmed


People also ask

How do I enable Android verification for Firebase project in?

In the Firebase console, open the Authentication section. In the Sign in method tab, enable the Phone provider if you haven't already. Open the Phone numbers for testing accordion menu. Provide the phone number you want to test, for example: +1 650-555-3434.


1 Answers

When you upload an app to the play store then the play store creates a new certificate called "App signing certificate". This will contain the SHA1 certificate that you require. It can be found at:

Select App -> Under Release -> Setup -> App Sigining on your play console. Copy SHA1 and paste it in your Go to Console -> Select Project -> Project Settings -> Under General Tab -> Under Your Apps -> Select App -> Add SHA1 fingerprint.

like image 140
Kavach Chandra Avatar answered Oct 05 '22 15:10

Kavach Chandra