How to get registered FingerPrint count in android phone

47 views Asked by At

I want to reset fingerprint authentication in my application, if any fingerprint added/removed. I have used setUserAuthenticationRequired(true) & setInvalidatedByBiometricEnrollment(true) properties for this, but I am getting KeyPermanentlyInvalidatedException only if any new fingerprint added or all fingerprints are removed from phone. Hence, I need a count of registered fingerprint in phone. So that any of fingerprint gets deleted, I will reset the authentication in my app. How to get that count? Any help will be appreciated. Thanks !!

0

There are 0 answers