-
Notifications
You must be signed in to change notification settings - Fork 99
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
Fails to fetch OTP in some devices #69
Comments
Hi @shailesh-galgal Please share code snippet and library version that you are using |
created a hook-
//calling it inside template
|
version - "react-native-otp-verify": "^1.0.5", |
@shailesh-galgal update to the new version 1.1.4 |
Okay @sudeshvs will try & let you know |
@sudeshvs tried didn’t worked |
That's strange issue @shailesh-galgal check android logs if you find any issues there |
@faizalshap its working fine inside some of the devices & failing in some of them, the issue explained above is from user's device,will try to find identical phone & share the logs here. |
@faizalshap : Same here, Resend OTP is not working to autofill the OTP in boxes it is happening in every device. |
@SanjanaTailor which is your package version ? |
@SanjanaTailor Would you mind sharing a sample project link with us so we can figure out what went wrong. |
I wanted to add that on Samsung S21 Android 12, it works great in DEBUG build but in RELEASE it doesn't auto-fill the OTP I didn't see anything happening in Android Studio logcat while the SMS was received (remember I'm looking in Release) Also, I put an alert inside the otp handling function: (here, inside otpHandler function) and it didn't fire when the SMS was received. After a while (maybe a minute) - the alert fired with "Timeout Error" Re-iterating that in DEBUG mode it worked flawlessly. |
Auto-fill not working for the first time but working on the second time, I able to re-produce this issue every time on the first attempt. package.json
|
i.e
Auto-fill not working for the first time but working on the second try, able to re-produce this issue every time on the first attempt.
Device: Samsung M12
Device - Nord
Some times its not even fetching OTP in 2nd attempt as well. @faizalshap need help
The text was updated successfully, but these errors were encountered: