mardi 3 septembre 2019

how to resend mobile otp

using firebase OTP notification. cant reuse window.recaptchaVerifier = new firebase.auth.RecaptchaVerifier('sign-in-button', { for resend otp after timer is complete.

https://github.com/firebase/quickstart-js/blob/master/auth/phone-invisible.html

i am using this library.

window.recaptchaVerifier = new firebase.auth.RecaptchaVerifier('sign-in-button', {

});

want to reuse this after "RESEND" click.

but its showing error :

Uncaught Error: reCAPTCHA has already been rendered in this element




Aucun commentaire:

Enregistrer un commentaire