Brian Gardner

Android BiometricPrompt

Brian Gardner | Feb 05, 2019

Since Android Marshmallow, we've had the FingerprintManager class which allows us to access the fingerprint hardware and allow the user to authenticate if they have a valid fingerprint enrolled on the device. As of Android P, the FingerprintManager is deprecated in favor of the BiometricPrompt API.

The reason for this is there are other types of biometric unlock options coming to Android, such as face unlock and iris unlock. The BiometricPrompt seeks to generalize the fingerprint unlock so that it can be applied to these other options in the future. The good news is, if you have used the FingerprintManager before, the BiometricPrompt implementation will be a breeze since the APIs are so similar.

In a previous screencast, we covered how to implement fingerprint unlock using the FingerprintManager. In this screencast, we’ll quickly review that implementation and then dive into setting up your application to use BiometricPrompt.

For the More Curious...

FingerPrint Authentication - Part 1
Better Biometrics in Android P
Android BiometricPrompt
BNR Guide to Android
Android & Kotlin Courses

Subscribers Only

Transcripts are for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Subscribers Only

Project files are only available for subscribers. Create an account today to access our collection of screencasts, skill packs, and more.

Need Help?

If you get stuck, try starting a discussion with Big Nerd Ranch experts in the community tab.

Related Screencasts

Explore other screencasts related to this topic.