-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled Exception occurred if input an invalid OTP verification code #3626
Comments
Ok, I solved it by changing my code. I check if there credential.token != null Here is my code
|
@ShohidulProgrammer Given your last message, I am going ahead and closing this as solved. If you disagree, write in comments and I'll reopen. |
The problem was not solved. coz, credential.token != null is always true. |
I solved the issue by adding the catchError method and checking authResult != null.
|
I want to test if a user inputs the wrong OTP code. but, here occurred an Unhandled Exception.
This is my code:
this is the exception:
The text was updated successfully, but these errors were encountered: