titanium-identity
titanium-identity copied to clipboard
Errors with consecutive wrong fingerprints
If an user gives several consecutive wrong fingerprints, the module stops reading the fingerprint and the read method gives you straight a success = false.
It looks like the fingerprint breaks system-wide, if you lock your phone and try to unlock it, iOS asks you to insert the code in order to re-enable the Touch ID.
Am I the first one to face this problem?
Ok, apparently the system is logging this error:
-[LAClient evaluateACL:operation:options:uiDelegate:reply:]_block_invoke -> (null), Error Domain=com.apple.LocalAuthentication Code=-8 "Biometry is locked out." UserInfo={Subcode=3, NSLocalizedDescription=Biometry is locked out., BiometryType=1} on <private>
I guess this is a policy that locks you out after many attempts. Is it possible to get this specific error? The response from the module is a generic error:
{"success":false,"error":"The keychain item authentication failed (Code: -25293)","code":-25293,"bubbles":true,"type":"read","source":{},"cancelBubble":false}