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
.
Hello π, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time. Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
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);