phone auth error on enabling android device verification

354 views
Skip to first unread message

sarthak pandit

unread,
Jun 9, 2021, 9:08:03 AM6/9/21
to Flutter Development (flutter-dev)
0

I had created phone auth for my android app using flutter-firebase. When the Android Device verification from cloud console is off, it redirects to a captcha screen and automatically captcha gets verified and after entering the otp received, app login functionality works properly.

But when Android Device verification is on ,for not showing the captcha screen,it shows this error on entering the otp :

Ignoring header X-Firebase-Locale because its value was null. I/flutter (27447): [firebase_auth/session-expired] The sms code has expired. Please re-send the verification code to try again.

My Flutter,Firebase Auth version is updated, and sha1 and sha256 are already added in firebase project setting.

Cant find a solution ,please guide.

Reply all
Reply to author
Forward
0 new messages