flutter firebase phone authentication issue with web after build #6389
Unanswered
karthikreddi
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Phone number auth not working in build release version of flutter web using firebase. No issues before build in flutter web.
Phone number auth not working only after deploying to firebase.
Error code: captcha-check-failed.
main.dart.js:5166 reCAPTCHA check failed. Please try again later.
Followed everything here at: https://firebase.flutter.dev/docs/auth/phone but no use.
Future _verifyPhoneNumberWeb(String number) async {
try {
_confirmationResult = await _firebaseAuth.signInWithPhoneNumber(
number,
);
} on FirebaseAuthException catch (e) {
throw CustomException(_verifyErrorCode(e.code));
} catch (error) {
rethrow;
}
}
Beta Was this translation helpful? Give feedback.
All reactions