Overview
Biometric authentication provides a secure and convenient way for users to authenticate without remembering PINs or passwords. The Chipi SDK supports fingerprint and face recognition on compatible devices.Prerequisites
- Expo SDK 49 or later
- Chipi SDK installed and configured
- Device with biometric capabilities (fingerprint sensor or face recognition)
Installation
First, install the required dependencies:Basic Implementation
This is the minimal configuration required to enroll in and use biometrics instead of a PIN to sign transactions.1
Register biometrics along with the PIN
2
Read the PIN to trigger the biometric prompt
Example
Here’s a simple example of how to implement a secure transfer flow using biometric authentication:To use biometrics for authentication, you first need to create and securely store a wallet with a PIN (which can be protected by biometrics).
Here’s an example wallet creation screen using the
useCreateWallet
hook:Useful resources
- Making an EAS Build in Expo
Next Steps
Now that you have biometric authentication working, you can:- Integrate it with other Chipi SDK features
- Add biometric authentication to wallet operations
- Implement multi-factor authentication combining biometrics and PINs
- Add biometric authentication to transaction signing