1

I am building an app with Expo React Native in managed workflow and using RN-Firebase for this. Now yesterday my app went into production and everything was fine.
And I am using development build of the app (without android and ios folders) for developing my application and today I am getting this error everytime i try to do phone authentication.

[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.]

Now my firebase has total of 4 SHA1, SHA256 keys. I have also added the App signing key generated by playconsole for my application.
But even in my development builds, i am getting this issue of missing client identifier.

Things i have checked:

  1. Ensuring all SHA1 & SHA256 keys added to the firebase console.
  2. Generating a new google-services.json file after generating keys.
  3. Creating a new development build.
  4. Enabled the PlayIntegrity API on CloudConsole

And another issue I've encountered in my production app was this . I was able to receive the OTP, but I was not able to sign in with that .

[error: [auth/session-expired] the sms code has expired. please re-send the verification code to try again.]

Any solutions would be appreciated! Thanks!!

1 Answer 1

0

I am still having this issue.
I managed to solve that issue by adding a very old SHA1 , SHA256 key which was stored on my pc.
It was working fine.
I generated a new production build of my application and uploaded on play console as Internal testing build. After that when i switched back to my development build and it started giving this issue again.

How i fixed earlier:
I used this command.

&"D:\Programs\Android Studio\jbr\bin\keytool" -list -v -alias androiddebugkey -keystore "$env:USERPROFILE.android\debug.keystore" -storepass android

  • You need to have the location of your keystore at the start.
  • Also Ensure all of the SHA1 and SHA256 keys are added with the updated google-services.json file.
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.