0.1.2 • Published 4 years ago
react-native-zoi-local-authentication v0.1.2
react-native-zoi-local-authentication
unlock your phone with local authentication pin|password|pattern|fingerprint
Installation
npm install react-native-zoi-local-authenticationUsage
import Unlock from 'react-native-zoi-local-authentication';
// ...
Unlock("title", "desctiption")
.then((result) => {
console.log("Success", result)
})
.catch(error => console.log("Error", error))Android
Add this line inside android/app/build.gradle
dependencies {
....
implementation "androidx.fragment:fragment:1.3.4"
}Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT