Closed umairalirehan closed 1 year ago
Hi Umair, Please check the Hash. aab that is deployed on Play store has different hash key
On Fri, Mar 17, 2023 at 3:01 PM umair ali @.***> wrote:
I was getting auto OTP on android and it was working fine, but after few days when I create aab file I am not getting auto OTP on both apk and on aab.
— Reply to this email directly, view it on GitHub https://github.com/faizalshap/react-native-otp-verify/issues/86, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4BJUKRSALV5GIHFWZIZ3DW4QVPLANCNFSM6AAAAAAV6JF3AY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi Umair, Please check the Hash. aab that is deployed on Play store has different hash key … On Fri, Mar 17, 2023 at 3:01 PM umair ali @.> wrote: I was getting auto OTP on android and it was working fine, but after few days when I create aab file I am not getting auto OTP on both apk and on aab. — Reply to this email directly, view it on GitHub <#86>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4BJUKRSALV5GIHFWZIZ3DW4QVPLANCNFSM6AAAAAAV6JF3AY . You are receiving this because you are subscribed to this thread.Message ID: @.>
you were right
I was getting auto OTP on android and it was working fine, but after few days when I create aab file I am not getting auto OTP on both apk and on aab.
useEffect(() => { getHash().then(console.log).catch(console.log); getOtp() .then(p => addListener(otpHandler)) .catch(p => console.log(p)); return () => removeListener(); }, []);
`const otpHandler = message => { try { const otp = message && (/(\d{4})/g.exec(message)[1] ?? ''); console.log('otp<<', otp);
};`