This is a block of mobile otp verification. i want to send users to another screen after successful verification with correct code. But with this method, users can write wrong code and can go to home screen. I want to protect this way. After correct verification, users can go in the app.
You can tell me different method also if is it available.
You must use Sign Up success block. It will raises when the user has entered the right otp and the sign up is success or you can use Sign Up Failed event too. It will be raised when user entered wrong otp or sign up failed due to any reason
then i’m using 2 component of firebase authorization because if i signin success by gmail then it will take loginin by mobile number by 2nd component. And should i use 3rd extra authorization component for otp success?
firebase1 authentication1 login successful/sign in successful
1(a)call firebase authentication2 send verification code to text otp1
call verify button click
all firebase authntication2 verify vode verify otp box
firebase authentication2 sign in/log in succeful
3(a) call tinydb store value tag(mobile number)
value to store(phn number)
3(b) Open another screen name (Home or something else)