androidx.biometric:biometric
Official Description: The Biometric library is a static library that you can add to your Android application. It invokes BiometricPrompt on devices running P and greater, and on older devices will show a compat dialog. Compatible on devices running API 14 or later.
CommonsWare’s Notes
This artifact supplies its own implementation of BiometricPrompt
for collecting a Fingerprint
or other form of biometrics from the user. On Android 9.0 and higher, it serves
as a wrapper around the framework implementation of BiometricFragment
. On
older devices, it shows its own UI.
Documentation
Knowledge
- Biometrics – AndroidX (2019-06-14): Blog post outlining how to adapt a framework
BiometricPrompt
to the AndroidX version - Fingerprint Authentication using BiometricPrompt Compat (2019-01-01)
Versions
- Latest Stable: 1.1.0
- Latest Release Candidate: 1.1.0-rc01
- Latest Beta: 1.1.0-beta01
- Latest Alpha: 1.2.0-alpha03