Hello Everyone,
In my app I am using Mobile Authentication for login. I have added resend OTP feature also. While login i received the otp after insert the phone code i got the message of wrong pin number (login failed). therefore i used the resend OTP feature. that time login succesfully. i used same blocks in each( login and resend ). I faced same Issue in other phone also. (Problem : I am receiving OTP code but first OTP is wrong second OTP only Correct. ) I dont know what should do?
See I used same textboxes to join otp to sign up. It working well…
Please note these :
while signing up mobile authentication works at very first time.
if I receive otp in another phone and enter otp in textbox it works at very first time. But the problem if I get otp in same phone which is used to installed the App I doesn’t works at First time.
After got message of Wrong pin number ( login failed) I restarted my app that time it directly logged in.
Main Problem May be : If I get the OTP in App installed phone , Not worked at first if I get OTP from any other phone where my App not installed. That time app Logged in at first time…