Open fedeperez89 opened 5 months ago
Does this occur with every phone number or specific phone number? I tried with this phone code "+44XXXXXXX" and it seemed fine to me.
I am affected by this as well
Does this occur with every phone number or specific phone number? I tried with this phone code "+44XXXXXXX" and it seemed fine to me.
I was testing with a real phone number +598XXXXXXXX
.
Is there an existing issue for this?
What plugin is this bug for?
Firebase UI Auth
What platform(s) does this bug affect?
Web
List of dependencies used.
flutter pub deps -s list
Steps to reproduce
Using the provided
PhoneInputScreen
fails to validate phone numbers on web platform.My Login Screen:
Phone Route:
Expected Behavior
Phone number is validated and the app proceeds to the code screen.
Actual Behavior
Phone number validation fails. App makes a POST to
https://identitytoolkit.googleapis.com/v1/accounts:sendVerificationCode
with no phone number resulting in a 400Additional Information
I'm able to work around this issue by building my own screen using
PhoneInput
andSMSCodeInput
and callingFirebaseAuth.instance.signInWithPhoneNumber(phoneNumber);