Firebase
I have implemented firebase phone Auth in my app so as soon as I request OTP it first goes to captcha page but then it returns and says this in log
This request is missing a valid app identifier meaning that neither SafetyNet checks succeeded. Please try again, or check the logcat for more details.
And in log cat I saw the following error
[SmsRetrieverHelper] SMS verification code request failed: unknown status code: 17093 null
I could solved it with the last two steps of the following (make sure you have covered all of them):
- Add SHA1 in the firebase project
- Add SHA-256 in the firebase project
- Enable Phone option in Sign-in method under Firebase Authentication
- Make sure to download and add the latest google-services.json file in your project
- Enable Android Device Verification for your firebase project in https://console.cloud.google.com/
- Add library implementation “androidx.browser:browser:1.3.0” https://developer.android.com/jetpack...
be sure the SHA-1 and SHA-256 signatures are added to the console, but be sure which signatures you are adding, beacuse if it is a release version, you should get the SHA’s from Developer Console, remember Google signs your app with a key stored on google servers.
Additional to this, I had to enable Safety Net on Firebase Console. Let me know if you manage to get everything working.