Open David-moonsite opened 3 years ago
You could try do something like this: this.startListeningForOtp(); // this method start the startListeningForOtp = () => \ RNOtpVerify.getOtp() \ .then(p => RNOtpVerify.addListener(this.otpHandler)) \ .catch(p => console.log(p)); \ RNOtpVerify.removeListener();
it work for me.. after you recived a message you need to remove the old Listener and add new Listener
@David-moonsite what is the issue that you get
does this package support ios?
@Irfanwani No, It's only support android.
Hi, I am testing the opt in release version.
And I noticed that this function sometimes works and sometimes does not work otpHandler. What am I doing wrong?