@exodus/react-native-biometrics
v0.2.1
Published
React Native Biometrics
Readme
@exodus/react-native-biometrics
A biometric authentication library for Android platform using the BiometricPrompt API.
Installation
npm install @exodus/react-native-biometricsUsage
import Biometrics from '@exodus/react-native-biometrics';
// ...
const valid = await Biometrics.authenticate(
'Authenticate to continue',
'Use your fingerprint to authenticate',
'Cancel',
);Props
| Name | Type | Description | | ---- | ---- | ----------- | | title | string | The title of the biometric prompt | | subtitle | string | The subtitle of the biometric prompt | | cancelButtonText | string | The text of the cancel button |
License
MIT
Made with create-react-native-library
