I am using the following library for fingerprint detection as its the latest one provided by google.
implementation 'androidx.biometric:biometric:1.0.0-alpha04'
I have referred the following article for implementation. Here we are not passing any crypto object like in FingerprintManager which is deprecated. A similar question was asked where in "KeyPermanentlyInvalidatedException" can be helpful to detect fingerprint changes, but we are not necessarily creating any cipher in the latest library.
How to detect if any new fingerprint was added using the latest andoridx library?