question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The sms code has expired. Please re-send the verification code to try again.

See original GitHub issue

the problem is This authentication happens in the background while the user still receives the verification code in an SMS. When the user tries to enter the verification code, i gets message that the verification code expired

V/Capacitor/FirebaseAuthenticationPlugin: Notifying listeners for event authStateChange
D/Capacitor/FirebaseAuthenticationPlugin: No listeners found for event authStateChange

E/FirebaseAuthentication: signInWithCredential failed.
com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The sms code has expired. Please re-send the verification code to try again.

how can i avoid receiving the verification code expiry message, and how can i set up a listener for " authentication changes ." in vuejs??

please help!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
hathemicommented, May 10, 2022

https://github.com/robingenz/capacitor-firebase/issues/61#issuecomment-1087911228. following this link does the job. sorry for the late respond. thanks @robingenz

0reactions
github-actions[bot]commented, May 10, 2022

It looks like there hasn’t been a reply in 30 days, so I’m closing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The sms code has expired. Please re-send the verification ...
When the user tries to enter the verification code, he/she gets a message that the verification code expired, because Android has already used ......
Read more >
[firebase_auth/session-expired] The SMS code has ... - GitHub
Please re-send the verification code to try again. Expected behavior. Can be login with real phone number both first time and second time....
Read more >
Android Question Firebase Sms Code Verification Promblem
FirebaseAuthInvalidCredentialsException : The sms code has expired. Please re-send the verification code to try again.
Read more >
Firebase SMS Code Expiration on the Same Device-OTP ...
Firebase sends an OTP verification code on devices after integrating their SDK. ... Please re-send the verification code to try again.
Read more >
The sms code has expired. Please re-send the verification ...
com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The sms code has expired. Please re-send the verification code to try again.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found