Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to distinguish between fingerprint and face id on Android?

I don't see anything related to being able to distinguish between different biometric authentications within the android.hardware.biometrics package.

I have found the FingerprintManagerCompat that has the hasEnrolledFingerprints() methods but I was wondering if it was the way to go as it seems from the documentation that we should rely on the android.hardware.biometrics package classes.

Any advice on that? Did I miss something?

like image 896
grandouassou Avatar asked Nov 07 '22 14:11

grandouassou


1 Answers

As of now we ideally cannot. Look into this : https://issuetracker.google.com/issues/111315641

like image 165
Anubhav Avatar answered Nov 14 '22 21:11

Anubhav