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

refactor(AndroidFingerprintAuth): add Errors #1470

Merged
merged 3 commits into from
May 9, 2017
Merged

refactor(AndroidFingerprintAuth): add Errors #1470

merged 3 commits into from
May 9, 2017

Conversation

danielsogl
Copy link
Owner

In release 1.2.7 they changed the Error types

https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth/releases

Added ERRORS JSON Object to the FingerprintAuth class prototype with the following fields corresponding to the new fixed error codes: BAD_PADDING_EXCEPTION, CERTIFICATE_EXCEPTION, FINGERPRINT_CANCELLED, FINGERPRINT_DATA_NOT_DELETED, FINGERPRINT_ERROR, FINGERPRINT_NOT_AVAILABLE, FINGERPRINT_PERMISSION_DENIED, FINGERPRINT_PERMISSION_DENIED_SHOW_REQUEST, ILLEGAL_BLOCK_SIZE_EXCEPTION, INIT_CIPHER_FAILED, INVALID_ALGORITHM_PARAMETER_EXCEPTION, IO_EXCEPTION, JSON_EXCEPTION, MINIMUM_SDK, MISSING_ACTION_PARAMETERS, MISSING_PARAMETERS, NO_SUCH_ALGORITHM_EXCEPTION, SECURITY_EXCEPTION
Breaking Changes

Changed error message for cancelled from "Cancelled" to fixed error code FingerprintAuth.ERRORS.FINGERPRINT_CANCELLED

@danielsogl danielsogl changed the title update(AndroidFingerprintAuth): Errors update(AndroidFingerprintAuth): add Errors May 5, 2017
@danielsogl danielsogl changed the title update(AndroidFingerprintAuth): add Errors refactor(AndroidFingerprintAuth): add Errors May 7, 2017
@ihadeed ihadeed merged commit ed6044d into danielsogl:master May 9, 2017
@danielsogl danielsogl deleted the patch-15 branch May 10, 2017 12:53
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

Successfully merging this pull request may close these issues.

2 participants