Problem
I have implemented firebase phone Auth in my flutter app but whenever i fill phone no. and click on send otp then it opens a RECAPTCHA verification url in browser by default. I don’t want to show it.
See the below screenshot of popup.
Solution
Follow the below Steps :-
Step 1 :- Go to Google Cloud Console, enable the Android Device Check API for your project ( Select the same project which you have created in firebase for flutter App. ). The default Firebase API Key will be used, and needs to be allowed to access the DeviceCheck API.
Step 2 :- If you haven’t added SHA-256 fingerprint in firebase then add it too.
For more information, you can also check Google SafetyNet API for checking Google Play Services installation in device at the time of Phone Authentication.
That’s All
Thanks for Reading.
Keep Coding.
- [SOLVED] Flutter : Waiting for another flutter command to release the startup lock. - July 2, 2021
- How to Change Passport Token length in laravel. - June 12, 2021
- Flutter : How to dismiss an AlertDialog on Button? - June 7, 2021
this code is Staps is not working send new upades stape