faizalshap / react-native-otp-verify

React native sms verification without additional permissions
MIT License
241 stars 95 forks source link

_reactNativeOtpVerify.default.getHash is not a function #40

Closed saurabhtourtech closed 1 year ago

saurabhtourtech commented 2 years ago

Getting this issue when try to call RNOtpVerify.getHash().

dattv155 commented 2 years ago

Same here, when I try to call RNOtpVerify.getOtp()

mdandaya commented 2 years ago

Happens when I call any function from ios, Any idea for any alternative libraries? Especially with Typescript?

brvhprince commented 2 years ago

Getting same error. Using expo

appsreap commented 2 years ago

Any updates on this bug? Has anyone been able to solve this problem yet?

mdandaya commented 2 years ago

Remove the usage of listenForOtp() and other functions that use otp listener

On Mon., Nov. 22, 2021, 3:55 a.m. appsreap, @.***> wrote:

Any updates on this bug? Has anyone been able to solve this problem yet?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/faizalshap/react-native-otp-verify/issues/40#issuecomment-975444939, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4U6CUQUZPR5VGJPP3Z74LUNIVULANCNFSM5ECTBJFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

kimsean commented 2 years ago

any updates on this bug ?

blitzve0 commented 2 years ago

React Native is Dead and so are all the Packages, Sad for all of us who have running apps on React Native

aakash-3990 commented 2 years ago

React Native is Dead and so are all the Packages, Sad for all of us who have running apps on React Native

what is the problem in it

blitzve0 commented 2 years ago

"react native is dead", is the problem 80% of the packages i use are unmaintained since ages, development experience is garbage I'm tired of packages not working

mykeltuz commented 2 years ago

@blitzve0 to be honest when was the last time you donated or sponsored any package, the fault is ours, these packages are built by independent developers like ourselves, but all we do is npm install or yarn add, then we forget to say thank you, what is in it for them. I don't own this repo, I'm just fed up with the way we're just pointing fingers at these guys and forgetting we've got our part to play in keeping React Native alive

blitzve0 commented 2 years ago

@blitzve0 to be honest when was the last time you donated or sponsored any package, the fault is ours, these packages are built by independent developers like ourselves, but all we do is npm install or yarn add, then we forget to say thank you, what is in it for them. I don't own this repo, I'm just fed up with the way we're just pointing fingers at these guys and forgetting we've got our part to play in keeping React Native alive

tru i agree donate from my side also

arpitBhalla commented 2 years ago

"react native is dead", is the problem 80% of the packages i use are unmaintained since ages, development experience is garbage I'm tired of packages not working

Maybe because maintainers are human too and very few wants to help them? I have seen React Native Elements library which have 110k+ weekly downloads, still only 2~3 developers took the pain to fix some issue by themselves. maintainers feels burnout, and at the end someone comments garbage for their package. We all expect them to work, without paying them, that's the reason many packages are "dead".

I am talking in general, please don't take personally. :)

faizalshap commented 2 years ago

Hi, please make sure that the library is properly integrated. and this library is not supported on iOS.

ghost commented 1 year ago

const startListeningForOtp = () => RNOtpVerify.getOtp() .then(p => RNOtpVerify.addListener(this.otpHandler)) .catch(p => console.log(p));

const getHash = () => RNOtpVerify.getHash() .then(console.log) .catch(console.log);

After adding the variable getHash, this works.

bhuwanadhikari commented 1 year ago

I had to rebuild the app again to make it work. I was giving me error when just restarted metro

SanjanaTailor commented 1 year ago

"react native is dead", is the problem 80% of the packages i use are unmaintained since ages, development experience is garbage I'm tired of packages not working

Maybe because maintainers are human too and very few wants to help them? I have seen React Native Elements library which have 110k+ weekly downloads, still only 2~3 developers took the pain to fix some issue by themselves. maintainers feels burnout, and at the end someone comments garbage for their package. We all expect them to work, without paying them, that's the reason many packages are "dead".

I am talking in general, please don't take personally. :)

Agree !

SanjanaTailor commented 1 year ago

faizalshap

please let us know this issue facing only in release APK.