0

I am trying to do get OTP without Verifying you are not a robot screen using firebase in a flutter.

I added the SHA-256 key in firebase and enabled the Android Device Verification in console developer google. But still after entering the phone number for OTP that Verifying you are not a robot screen was showing and redirecting to the app. Did I miss something or it will take time to activate Android Device Verification.

1 Answer 1

2

Make sure your app is Registered via SafetyNet at:

Firebase Console > Project Settings > App Check > Your app

Secondly, try to test it on a real device. If you are testing phone authentication on an emulator then reCAPTCHA screen will be still shown but for real devices it won’t be shown anymore as stated in the official documentation.

Addition: It will always be shown in rooted devices.

Edit: If this is happening only to your playstore downloaded application, then you probably didn't add your playstore signing SHA1 and SHA256 to your firebase.

enter image description here

Go to your playstore account, app signing under integrity and copy these keys and add them to your firebase project.

3
  • I am trying in a real device. Feb 3, 2022 at 9:45
  • 1
    Registered via SafetyNet made this. Thanks, @Muhammad Hussain. Feb 3, 2022 at 11:19
  • @GHPrakash Is your device rooted? Aug 20, 2022 at 14:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.