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

Cannot read property '1' of null

Open maihonganh1997 opened this issue 3 years ago • 7 comments

As soon as I received the message and it got an error "Cannot read property '1' of null", I debug message = 'Timeout Error.'

maihonganh1997 avatar Jul 14 '20 11:07 maihonganh1997

Strange issue. Can you please send the stacktrace ?

faizalshap avatar Apr 20 '21 04:04 faizalshap

Even i am receiving the same error. Where to set the timeout value ?

pruthvirajkarurcodewave avatar May 04 '21 05:05 pruthvirajkarurcodewave

same here :( anyone?

mateodaza avatar May 07 '21 00:05 mateodaza

any updates?

rukmanary avatar Jun 14 '21 04:06 rukmanary

same issue

mohamedadlyy avatar Jul 08 '21 17:07 mohamedadlyy

same issue

AzranAzwer avatar Sep 09 '21 06:09 AzranAzwer

const otp = /(\d{4})/g.exec(message)[0];

aen deo a change karo [1]. to [0]

WaseemAhmed645 avatar Feb 24 '22 11:02 WaseemAhmed645

Make sure that you include production hash in the message as stated in the readme.

faizalshap avatar Oct 30 '22 08:10 faizalshap