4

I want to disable Re-Captcha in Firebase Phone Auth in Flutter.

In other solutions where folks enable the 'Android Device Verification' API in Google Cloud Console and everything is working fine for them, But Currently 'Android Device Verification' API is Removed by Google and merged with 'Google Play Integrity API'.

I already enabled the 'Google Play Integrity API', Plus I added my device SHA1 and SHA-256 both in the Firebase console and add the update google-service.json in the project.

Still, I am getting the Re-Captcha screen.

I added the following libraries in app/build.gradle

enter image description here

And 'Google Play Integrity API' is also enabled:

enter image description here

Also, I enabled the 'App Check' in Firebase Console, Added SHA 256 is added.

enter image description here

6
  • No, not now @NehilKoshiya Commented Apr 21, 2023 at 4:46
  • You can disable app verification by setting true to appVerificationDisabledForTesting check this github also check the suggestions in these stackoverflow link1 & link2 Commented Apr 21, 2023 at 7:32
  • Already tried but not working @SathiAiswarya Commented Apr 21, 2023 at 9:09
  • There is a bug raised for this at github shared by Niladri in below answer you can follow that further updates. Commented Apr 21, 2023 at 13:50
  • hi @amit how did you solve this issue, I'm stuck there and I've almost tried every solution I could, I upgraded flutter and all dependencies including firebase_core and firebase_auth but it didn't help so I downgraded them it didn't work either, I enabled Firebase App Check API Google Play Integrity API implementation "androidx.browser:browser:1.3.0" to 1.6.0 Commented Oct 4, 2023 at 16:53

3 Answers 3

1

try to activate app check in your firebase console https://firebase.google.com/products/app-check then register you app, this worked for me

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for your response @Chalwe19,I tried this but still not working.
1

LATEST UPDATE:

Firebase Github comment

Assuming you have done everything as per the documentation of AppCheck and PlayIntegrity guidelines and yet you have the ReCaptcha appearing, this information is for you.

In addition, you might have the OTP sms having the label .firebaseapp.com, instead of the actual App name.

This is an issue on Which Firebase is working currently on priority basis.

Multiple users like me have reported this to Firebase Github.

Here is my reported issue.

Comments

1

Just add SHA-1 & SHA-256 Keys in your Firebase project.

You can add key using below steps:

Open terminal in your IDE and change access android/gradlew signingReport and press enter.

Then you can copy paste both keys from debug section to your firebase project and you will not get Re-Captcha verification.

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.