Open WuglyakBolgoink opened 4 years ago
isAvailable
means all prerequisites have been meet allowing use of the fingerprint sensor. If isAvailable
is false then one of the other 2 provide additional info for different messaging. For instance if isAvailable
is false and isHardwareDetected
is false then the device does not have a scanner. If isAvailable
is false isHardwareDetected
is true and hasEnrolledFingerprints
is false, means the device has a scanner but the device has no enrolled fingerprints so you would want to prompt the user to go enroll a fingerprint to use that feature. None of those have to do with the fingerprint db changing.
Hallo @mjwheatley thank you!
is it possible to check on android devices if user create or remove old Fingerprint before show dialog? (https://stackoverflow.com/a/44926774)
You can play around with the encrypt config option userAuthRequired
. It changes the setting you referenced.
Hallo @mjwheatley ,
can you please help to understand what I do:
is
isAvailable
the same ashasEnrolledFingerprints
? orhasEnrolledFingerprints
means, that fingerprint database was changed (added/removed fingers)? For Example ishasEnrolledFingerprints
eq towindow.plugins.touchid.didFingerprintDatabaseChange
(https://github.com/EddyVerbruggen/cordova-plugin-touch-id#security)