You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Exception only only catch the first time as you can see it:
If you press a second time on the validation button
The Exception is not raised to the previous catch statement....but print to the console
Expected Behavior
The the error as many time needed.
One you have an error, In was expecting form this helper method to restart:
provider.sendVerificationCode(
hint: hint as fba.PhoneMultiFactorInfo,
multiFactorSession: session,
action: AuthAction.none,
);
Otherwise once you have an error, you need to go to the previous page and type correctly the pin.
I'm expecting user to sometime do mistakes when entering the code, so this can be very annoying from an end user perspective.
Actual Behavior
Only trigger one time
Additional Information
No response
The text was updated successfully, but these errors were encountered:
The problem came from the way the implementation is done, the code validation can only be executed once otherwise you will get an exception that the Completer is already done !!!
The provided #482 resolved that, but not in a clean way :-(
We did it in our codebase a more clean way. I can update the PR accordingly, but need to know if someone will look at it or do something about it.
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
if you have this in your actions:
The Exception only only catch the first time as you can see it:
If you press a second time on the validation button
The Exception is not raised to the previous catch statement....but print to the console
Expected Behavior
The the error as many time needed.
One you have an error, In was expecting form this helper method to restart:
Otherwise once you have an error, you need to go to the previous page and type correctly the pin.
I'm expecting user to sometime do mistakes when entering the code, so this can be very annoying from an end user perspective.
Actual Behavior
Only trigger one time
Additional Information
No response
The text was updated successfully, but these errors were encountered: