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

How to catch error after cancel touch id? #67

Closed
Gaever opened this issue Feb 21, 2019 · 2 comments
Closed

How to catch error after cancel touch id? #67

Gaever opened this issue Feb 21, 2019 · 2 comments

Comments

@Gaever
Copy link

Gaever commented Feb 21, 2019

Hi!
As soon as user cancel fingerprint/faceid dialog an uncaught error is thrown. Is there way to handle it? I'm trying to implement bottomLeft component with biometry icon so user could perform new attempt to authorize with biometry.
I'd be glad to pass callback to your component's prop that fires when error is thrown.

@Gaever
Copy link
Author

Gaever commented Feb 26, 2019 via email

@jeremy-farnault
Copy link
Contributor

Hi,

I've added a property called callbackErrorTouchId?: (error: Error) => void that is triggered when the TouchID function throws an error.

Cheers,
Jeremy

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

2 participants