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

BiometricErrorInfo now contains localized reason of failure #559

Merged
merged 4 commits into from
Oct 3, 2023

Conversation

hvge
Copy link
Member

@hvge hvge commented Sep 25, 2023

This PR changes how new BiometricErrorInfo is defined. Now it is a class instead of enumeration. This change allows us to embed more information than simple hint about the dialog presentation.

Other changes:

  • Fixed mapping from BiometricStatus.NOT_ENROLLED to PowerAuthErrorCodes.BIOMETRY_NOT_ENROLLED
  • BiometricAuthentication.getBiometricDialogResources() is now static (as intended)

…ilure.

- Fixed mapping from BiometricStatus.NOT_ENROLLED to PowerAuthErrorCodes.BIOMETRY_NOT_ENROLLED
- BiometricAuthentication.getBiometricDialogResources() is now static (as intended)
@hvge hvge requested a review from kober32 September 25, 2023 12:57
Copy link
Member

@kober32 kober32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK

@hvge hvge merged commit 6ab623b into develop Oct 3, 2023
1 check passed
@hvge hvge deleted the issues/558-localized-biometric-error branch October 3, 2023 10:13
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