react-native-fingerprint-auth
React Native library for native fingerprint authentication(android only)
Installation
npm install react-native-fingerprint-auth
or
yarn add react-native-fingerprint-auth
Android Permissions
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
Usage
import { FingerPrint } from 'react-native-fingerprint-auth';
const configObject = {
title: 'My App',
subtitle: 'Authenticate to Unlock',
description: 'Use fingerprint, pattern or pin to unlock to proceed.',
usePassword: true,
};
FingerPrint.Authenticate(configObject, (success, error) => {
console.log(success, error);
});
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT