skip to Main Content

I’m trying to use Firebase phone authentication for my Android application developed using react-native. I have followed the below docs and completed the setup.

Sign in works for me with the test number and code specified below.
Screenshot of firebase project auth settings

But when I try to use any other phone number, I get below error.

Error: [auth/missing-client-identifier] This request is missing a valid app identifier, meaning that Play Integrity checks, and reCAPTCHA checks were unsuccessful. Please try again, or check the logcat for more details.

Can anyone please help me in fixing this?? I have enabled "Google Play Integrity API" in my google cloud console as well.

Logcat logs
enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    I fixed this problem by updated doing below 2 things

    1. Update restrictions on my key for the firebase project from google console
    2. It seems if we update the SHA1 fingerprint in Firebase project, it creates a new key and does not update the existing one. I updated the SHA1 manually on my key and everything worked.

  2. Verify that your app’s SHA-1 and SHA-256 fingerprints are correctly registered in the Firebase Console. Check both the debug and release fingerprints if applicable.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search