SMS verification code request failed: unknown status code: 17093 null Firebase Phone Auth Android

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):

  1. Add SHA1 in the firebase project
  2. Add SHA-256 in the firebase project
  3. Enable Phone option in Sign-in method under Firebase Authentication
  4. Make sure to download and add the latest google-services.json file in your project
  5. Enable Android Device Verification for your firebase project inĀ https://console.cloud.google.com/
  6. 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.

We will be happy to hear your thoughts

Leave a reply

CodeROG
Logo
Compare items
  • Total (0)
Compare
0