otpReader
otpReader copied to clipboard
otpReceived method not calling
I need to read recieved OTP in two different screens. So, I have binded OtpReader.bind(this, "BP-BLOSSM") method in two different activities. Now otpReceived method calling in one Activity and and not calling in another activity when I receive OTP message.
That is probably because currently only one listener is supported. You can use one listener and emit events from that to your 2 activities as a workaround
Is unbind() method solve above issue ?
@peddiraju11 unbind would be to remove a listener but wasn't the original problem to have two listeners as i understand?