[🐛] Bug Report Title - OTP verification fails on Android 13+ with "OTP expired" error #8441
Labels
Needs Attention
platform: android
plugin: authentication
Firebase Authentication
type: bug
New bug report
Issue
I am facing an issue with OTP verification using @react-native-firebase/auth. On Android 13+, OTP verification fails with an "OTP expired" error even when entered correctly. However, it works fine on Android 11.
Steps to Reproduce
Expected Behavior
The OTP should be verified successfully if entered within the valid time frame.
Actual Behavior
Code Snippet
Project Files
package.json:
React Native Version: (Provide your version)
Android Version:
✅ Android 13+ (Issue Occurs)
✅ Android 11 (Works Fine)
Device Tested On: (e.g., Pixel 7, Samsung Galaxy S23)
Additional Context
Using forceRecaptcha=false to avoid reCAPTCHA flow.
OTP is received but always fails with "OTP expired".
No issues observed on Android 11 or below.
Firebase authentication settings appear to be configured correctly.
Possible Workarounds Tried
Enabling/disabling forceRecaptcha.
Trying different phone numbers.
Checking Firebase settings—no unusual behavior observed.
Would appreciate any insights on whether this is an issue with Firebase or if there’s a workaround! 🚀
The text was updated successfully, but these errors were encountered: