Search code examples
androidfirebaseauthenticationfirebase-authenticationsigned-apk

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


Solution

  • 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.