com.google.firebase.auth.FirebaseAuthException: This request is missing a valid app identifier, meaning that neither SafetyNet checks nor reCAPTCHA checks succeeded. Please try again, or check the logcat for more details

Prerequisite : “Identify and add SHA1 / SHA-256 Certificates to Firebase console for Phone Authentication”

When we were trying for Firebased based SMS OTP Authentication for our android app, we followed all the steps but got the exception as below,

com.google.firebase.auth.FirebaseAuthException: This request is missing a valid app identifier, meaning that neither SafetyNet checks nor reCAPTCHA checks succeeded. Please try again, or check the logcat for more details

Solution :

This can be solved by modifying app/build.gradle to add a line as,

implementation 'androidx.browser:browser:1.0.0'

Leave a Comment