0
votes

I am developing a Flutter app for both Android and iOS devices. Iam using Phone authentication from firebase. The firebase phone auth redirects the user to webpage for recaptcha verification everytime the user tries to login.

The solutions I have already tried :

  1. Adding SHA-1 and SHA-256 to my firebase project.
  2. Enabling Android Device verification API for my project in Google play console.

Please help me to remove the recaptcha.

I have figured out that this is happening only for rooted devices. Is there a way to solve this problem?

1
i have faced the same issue but could not get any solution for this. - xbadal

1 Answers

0
votes

According to firebase :

If device is rooted or have unlocked bootloader they do not pass SafetyNet checks. As such, it defaults to the reCAPTCHA verification. You can follow the steps mentioned here to lock the bootloader or test your app on unrooted device.