react-native-lock-screen icon indicating copy to clipboard operation
react-native-lock-screen copied to clipboard

error while updating property 'props' of a view managed by RNLockScreen

Open mahesh-varkala opened this issue 7 years ago • 1 comments

TypeError: expected dynamic type 'int64', but had type 'double'

screenshot_1536300851

My usage:

import { RNLockScreen} from 'react-native-lock-screen;
...
...
  <RNLockScreen
    type={1}
    mode={1}
    onCapture={() => { console.log('on capture called'); }}
    onVerified={() => { console.log('on verified called'); }}
    lock="1234"
  />
...
...

I have followed all installation instructions and my Android Level is 27.

IMPORTANT: Interesting thing to note here is that it works when type={0} and mode={0}

mahesh-varkala avatar Sep 07 '18 06:09 mahesh-varkala

Thanks @mahesh-varkala for raising the issue.

I have tried the shared snippet using the library example and it is working as expected. Can you please share on what action this issue is coming.

Thanks </ Pranav >

prscX avatar Sep 08 '18 09:09 prscX