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

reject promise with native error code #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

reject promise with native error code #137

wants to merge 1 commit into from

Conversation

blueish9
Copy link

@blueish9 blueish9 commented Sep 13, 2020

It's better to handle native Android error with a complete list of error code
https://developer.android.com/reference/androidx/biometric/BiometricPrompt#constants_1

@jayfunk
Copy link
Member

jayfunk commented May 27, 2022

I am totally open to doing this. I think that we should expose the constants so they can easily be referenced when writing code to handle the errors. Also, we should update the README.md to demonstrate the usage of the error handling.

@osbornZ
Copy link

osbornZ commented Sep 23, 2022

Is this commit merged ?
Otherwise may I got ERROR_LOCKOUT type in error message,this is too restrictive to handle different BiometricPrompt

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.

3 participants