Skip to content

Handling FingerprintManager.FINGERPRINT_ERROR_LOCKOUT Through onFingerLockError()? #8

@SharpMobileCode

Description

@SharpMobileCode

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions