Giter VIP home page Giter VIP logo

Comments (2)

chemerisuk avatar chemerisuk commented on July 17, 2024

I do not touch any logic related to a verification SMS content. Why do you need force Resending Token?

from cordova-plugin-firebase-authentication.

wendy922011 avatar wendy922011 commented on July 17, 2024

It seems like for usual practice, if I would like to resend an sms, the code should be different from the previous one. The timeout is set to 0 in the verifyPhoneNumber function but no matter I close the app or kill the app, the same sms code was sent to the phone when the timeout has passed. (P.S. The verification Id is different every time.)
The official doc mentioned something like this:

The verifyPhoneNumber method is reentrant: if you call it multiple times, such as in an activity's onStart method, the verifyPhoneNumber method will not send a second SMS unless the original request has timed out.

Not sure if there are any methods to send a separate one. Just want to have a try if other functions work as expected. Please advise if you have any ideas.

from cordova-plugin-firebase-authentication.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.