Skip to content

React native 0.75.4 otp read issue on Android #126

Open
@Sathishkumargrc

Description

@Sathishkumargrc

React native version 0.75.4 not working only getting hash but not getting incoming OTP

"react": "18.3.1",
"react-native": "0.75.4",

 useEffect(() => {
getHash()
  .then(hash => {
    console.log('App hash:', hash);
  })
  .catch(console.log);
  startOtpListener(m => {
    console.log('m', m)
  })
getOtp()
  .then(p => addListener(otpHandler))
  .catch(e => console.log(e));

return () => removeListener();

}, []);

const otpHandler = message => {
console.log('message..', message);
};

kindly have a look on android 14 may be It's not working in iOS as well.
thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions