$ yarn add react-native-touch-id
$ yarn add react-native-passcode-auth
Unfortunately, last commit is from Jan 12, 2016 ☹️
TouchID.isSupported()
Get the stored credentials
Do the login call behind the scenes
npm install react-native-keychain
Security ✅
Access to credentials ✅
Ensure up-to-date credentials ❓
Use the libraries
react-native-touch-id
react-native-keychain
Touch ID Lock Screen
Touch ID Login
+ Large gain in security
− Need to add a fallback
+ Potentially large gain in usability
− Need to keep valid credentials
+ Fallback already there
− Need to think about security
+ Minimal cost in UX