Biometric authentication allows you to quickly unlock your device with your fingerprint or face, confirming it’s really you who’s using the device. In this tutorial, you’ll learn how to use the Android Biometric API.
This app will securely store your messages, so only you can unlock them using your biometric signature. You’ll learn how to:
- Integrate the AndroidX Biometric Library.
- Authenticate a user through a biometric prompt.
- Encrypt and decrypt sensitive information using biometric credentials.
- Properly handle successful or failed authentication.
Note: This tutorial requires a device that has biometric authentication capability, either fingerprint or Android face recognition. The examples and sample code here will focus on the fingerprint authentication process.