react-native-otp-verify icon indicating copy to clipboard operation
react-native-otp-verify copied to clipboard

_reactNativeOtpVerify.default.getHash is not a function

Open saurabhtourtech opened this issue 3 years ago • 15 comments

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

saurabhtourtech avatar Sep 15 '21 14:09 saurabhtourtech

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

dattv155 avatar Sep 17 '21 01:09 dattv155

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

mdandaya avatar Sep 21 '21 07:09 mdandaya

Getting same error. Using expo

brvhprince avatar Oct 13 '21 11:10 brvhprince

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

appsreap avatar Nov 22 '21 11:11 appsreap

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.

mdandaya avatar Nov 22 '21 17:11 mdandaya

any updates on this bug ?

kimsean avatar Nov 29 '21 05:11 kimsean

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

blitzve0 avatar Jan 28 '22 18:01 blitzve0

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

aakash-3990 avatar Mar 11 '22 12:03 aakash-3990

"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

blitzve0 avatar Mar 11 '22 15:03 blitzve0

@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

mykeltuz avatar Mar 28 '22 11:03 mykeltuz

@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

blitzve0 avatar Mar 28 '22 12:03 blitzve0

"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. :)

arpitBhalla avatar Apr 03 '22 12:04 arpitBhalla

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

faizalshap avatar May 11 '22 05:05 faizalshap

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.

ghost avatar Sep 16 '22 21:09 ghost

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

bhuwanadhikari avatar Oct 12 '22 05:10 bhuwanadhikari

"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 avatar Dec 05 '22 07:12 SanjanaTailor

faizalshap

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

SanjanaTailor avatar Dec 05 '22 07:12 SanjanaTailor