Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling FingerprintManager.FINGERPRINT_ERROR_LOCKOUT Through onFingerLockError()? #8

Open
SharpMobileCode opened this issue Aug 22, 2017 · 0 comments

Comments

@SharpMobileCode
Copy link

After I perform afingerLockManager.start() and I purposely scan a bad fingerprint 5 times. This makes the Google API return a FingerprintManager.FINGERPRINT_ERROR_LOCKOUT error, which states:

The operation was canceled because the API is locked out due to too many attempts.

However, when onFingerLockError() is fired, the error type is FingerLock.FINGERPRINT_UNRECOVERABLE_ERROR. Is this the correct behavior?

I would assume that FingerLock.FINGERPRINT_UNRECOVERABLE_ERROR is an unknown or unrecoverable error. Does this mean it's a FingerprintManager.FINGERPRINT_ERROR_LOCKOUT? How would I specifically handle FingerprintManager.FINGERPRINT_ERROR_LOCKOUT error if an "unrecoverable error" could be anything?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant