I am using Firebase SDK in android app for phone auth OTP verification. This is working fine on debug builds but not on release builds.
Thanks in advance
For debug keys: Open your project in android studio > Click on Gradle (In the right panel) > Click on Your Project > Click on Tasks > Click on android > Double Click on signingReport
For release keys: Use this command to generate release keys: keytool -list -v -keystore "your jks file path " -alias "key name"
Add jks path and key name and run this command in android studio terminal.
OR
You can also get SHA1 and SHA- 256 from google play console. Go to Play store Console > Your project > Release > Setup > App signing.
Check if you have completed all the above steps in your proejct. If your app is live on play store make sure your firebase project have both debug & release SHA1,SHA-256 key in your firebase console.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.