FingerprintIdentify icon indicating copy to clipboard operation
FingerprintIdentify copied to clipboard

No handling for FINGERPRINT_ERROR_USER_CANCELED

Open dimentiyinfo opened this issue 6 years ago • 2 comments

Hi

No handling for FINGERPRINT_ERROR_USER_CANCELED, so application can't find out about cancelling (so no ability to re-enable identifiing).

I propose to extend IdentifyListener() with onCancel() method

dimentiyinfo avatar Mar 31 '20 14:03 dimentiyinfo

Or at least remove FINGERPRINT_ERROR_USER_CANCELED from the condition. For me, just FINGERPRINT_ERROR_CANCELED is ok to not fire onFailed() after cancelIdentify()

dimentiyinfo avatar Mar 31 '20 14:03 dimentiyinfo

https://github.com/uccmawei/FingerprintIdentify/pull/90

dimentiyinfo avatar Mar 31 '20 15:03 dimentiyinfo