Cipri
Cipri

Reputation: 211

2025: How to disable reCAPTCHA in Firebase phone-authentication (OTP) Android without SafetyNet or DeviceCheck

I know that this question has been posted multiple times, but most of the answers are deprecated or not valid for 2025 since SafetyNet is deprecated for new apps and Android DeviceCheck API is also deprecated. There is only the Play Integrity API available now.

How can I disable the reCAPTCHA in Firebase phone-authentication? It does not appear for Google Login or Facebook Login, just for OTP.

It works fine for the iOS app, no reCAPTCHA using the same Firebase project.

I already have:

Google Play Integrity API

Enter image description here

with these default settings:

Enter image description here

I also added the SHA1 and SHA-256 keys into Firebase settings:

Enter image description here

Firebase App Check:

Enter image description here

I have discovered that it retrieves: Failed to initialize reCAPTCHA config: No Recaptcha Enterprise siteKey configured for tenant/project * error on the logcat. After the error, phoneAuthOptions turns false as it can be seen in the picture:

Enter image description here

How can I disable it?

Upvotes: 4

Views: 284

Answers (0)

Related Questions