A ReactNative Module which offers touch ID ability for IOS
npm install react-native-cute-touch-idA small react-native plugin which offers app touch ID ability.
Cute TouchID is able to detect changes of touch ID's additions or deletions which is important to apps in high security level.
Only support IOS by now.
React Native > 0.4.3
shell
npm install --save react-native-cute-touch-idreact-native link
`$3
`jsx
import CuteTouchID from 'react-native-cute-touch-id';
`To detect if Touch ID is available
`jsx
CuteTouchID
.isSupported()
.then(success => {
// supported
})
.catch(e => {
// not supported
})
`To authenticate
`jsx
CuteTouchID
.authenticate('My Authenticate Reason')
.then(success => {
// success
})
.catch(e => {
// error happens
})
``