react-native-lock-screen
react-native-lock-screen copied to clipboard
error while updating property 'props' of a view managed by RNLockScreen
TypeError: expected dynamic type 'int64', but had type 'double'

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}
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 >