1.0.2 • Published 2 years ago

react-native-fingerprint-auth v1.0.2

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

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