prscX / react-native-lock-screen

React Native: Lock Screen
Apache License 2.0
118 stars 27 forks source link

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

Open mahesh-varkala opened 6 years ago

mahesh-varkala commented 6 years ago

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}

prscX commented 6 years ago

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 >