Laksh Lathiya
Laksh Lathiya

Reputation: 322

Firebase didn't send OTP to mobile -- Android Studio firebase phone authentication error

I add SHA1 & SHA-256 to firebase console & following dependencies in build.gradle file.

Actually the problem is that my mobile didn't open Browser to CAPTCHA

Dependecies

 implementation 'com.google.firebase:firebase-auth:20.0.3'
 implementation "androidx.browser:browser:1.3.0" 

ERROR

E/FirebaseAuth: [GetAuthDomainTask] Error getting project config. Failed with INVALID_CERT_HASH 400

E/zzf: Failed to get reCAPTCHA token with error [There was an error while trying to get your package certificate hash.]- calling backend without app verification

Upvotes: 1

Views: 737

Answers (1)

Laksh Lathiya
Laksh Lathiya

Reputation: 322

Enable Android Device Verification

Use below the link to Enable Android Device Verification.

https://console.cloud.google.com/apis/library/androidcheck.googleapis.com

Upvotes: 1

Related Questions