React Native Fingerprint Scanner

screenshot of React Native Fingerprint Scanner
react
react-native

Provide Fingerprint, Touch ID, and Face ID Scanner for React Native (Compatible with both Android and iOS)

Overview:

React Native Fingerprint Scanner is a library for authenticating users using Fingerprint (TouchID) on both iOS and Android devices. The project is currently seeking maintainers to help continue its development. The library integrates with the Local Authentication framework on iOS and provides support for newer Android devices using the BiometricPrompt library.

Features:

  • TouchID Authentication: Authenticate users using their fingerprint on both iOS and Android devices.
  • Local Authentication Framework: Utilizes the Local Authentication framework on iOS for secure authentication.
  • BiometricPrompt Support: Supports the new native Android BiometricPrompt library for devices running Android version 23 (M) and above.
  • Legacy Support: Deprecated support for legacy Android Fingerprint API library for Samsung & MeiZu phones on older Android versions.

Automatic Configuration (RN >= 0.60):

  1. Run npm install react-native-fingerprint-scanner
  2. Follow the specific platform setup for iOS and Android below.

Manual Configuration iOS:

  1. Add ReactNativeFingerprintScanner.xcodeproj to XCode.
  2. Link the library "libReactNativeFingerprintScanner.a" in XCode.
  3. Run the project (Cmd+R).

Manual Configuration Android:

  1. Add ReactNativeFingerprintScannerPackage to MainApplication.java.
  2. Update settings.gradle and build.gradle as mentioned in the documentation.
  3. Add necessary permissions to the AndroidManifest.xml file.

Summary:

React Native Fingerprint Scanner is a useful library for implementing Fingerprint authentication in React Native apps. It offers features like TouchID support, BiometricPrompt integration, and support for legacy Android devices. By following the simple installation steps, developers can enhance the security of their applications with biometric authentication. Consider contributing to this project if you are interested in its maintenance and further development.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

react-native
React Native

React Native is a framework for building mobile applications using React and JavaScript. It enables developers to write once and deploy to multiple platforms, including iOS, Android, and the web, while providing a native app-like experience to users.