0.1.2 • Published 2 years ago

react-native-zoi-local-authentication v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-native-zoi-local-authentication

unlock your phone with local authentication pin|password|pattern|fingerprint

Installation

npm install react-native-zoi-local-authentication

Usage

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