The OTP verification works properly for debug build. I have also added SHA key in firebase console for release version. But Phone Auth doesn't work when I generate signed apk and upload it to play store. Should I retain both debug SHA keys and release keys after I upload the app to production on play store? Is Google App Signing compulsory for using a firebase app on production?
10
votes
check your log, there might have some information
- Vishal
Google sign in not working after publishing in play store
- RonTLV
The issue is already answered here hope that helps stackoverflow.com/questions/39318370/…
- Mahesh Jamdade
Does this answer your question? Google sign in not working after publishing in play store
- Magnus W
2 Answers
19
votes
If this is the issue occurring on the app uploaded to play store, then below can be a feasible solution.
Steps
- Go to play console and select your app.
- Under release management, go to app signing.
- Find SHA-1 certificate and copy it.
- Go to firebase console and select your app.
- Go to project settings and add this SHA-1 certificate.
You are ready to rock again.