I am experiencing an issue with my Flutter app after uploading it to the Play Store. The app uses Firebase Phone Authentication for OTP verification. When I enter the OTP sent to my phone, I receive an “Invalid OTP” error, even though the OTP is correct.
Here are the steps I followed:
- Implemented Firebase Phone Authentication in my Flutter app.
- Tested the app locally and the OTP verification worked perfectly.
- Uploaded the app to the Google Play Store.
- Installed the app from the Play Store and tried to verify using the OTP sent to my phone.
- Received an “Invalid OTP” error message.