How to remove captcha verification from Firebase phone auth using flutter web?
6,918
You can remove reCaptcha by Enabling the Android Device Verification API in Your Project on google cloud console. You can do that by Adding Your Project there.
After that you should also add SHA-256 key in Your Firebase Project in Project Setting.
Now there will be no reCaptchaa to verify to that your are not a robot.
Author by
Darshan Prajapati
Updated on December 22, 2022Comments
-
Darshan Prajapati over 1 year
I wants to remove or a make invisible google recaptcha verfication. My code for verifying mobile number and sign in
await FirebaseAuth.instance.verifyPhoneNumber( phoneNumber: "+91${customMobileController.text.toString()}", timeout: const Duration(seconds: 5), verificationCompleted: verificationCompleted, verificationFailed: verificationFailed, codeSent: codeSent, codeAutoRetrievalTimeout: codeAutoRetrievalTimeout);
For sign in
var authCredential = PhoneAuthProvider.getCredential( verificationId: verificationId, smsCode: otp, ); await FirebaseAuth.instance .signInWithCredential(authCredential) .then((value) {}) .catchError((error) {});
-
Pratik Butani about 3 yearsThank you. Hope it will work for Mobile Phone too.
-
Pratik Butani about 3 yearsWhat about ios?
-
Rajesh M P about 3 yearsHow can we enable this for iOS platform?
-
Nijat Mursali almost 3 yearsIs there any way to implement this for IOS?
-
genericUser over 2 yearsAdding a link to Youtube simple example youtube.com/watch?v=opBwTxicw1k
-
Gicu Mironica over 2 yearsDid anyone figure it out how to do it for iOS?
-
Vinoth Vino about 2 yearsIn iOS, Firebase will verify by way of sending silent push notifications to the device - firebase.google.com/docs/auth/ios/…