I'm using react-native-touch-id 4.4.1 against react-native 0.57.3 in the iOS Simulator.
When a user fails to match biometrics, then cancels the Face ID (in my case) prompt, an error is thrown that makes React Native show a full screen red stack trace, that I can't seem to catch:
LAErrorUserCancel: Authentication was canceled by the user—for example, the user tapped Cancel in the dialog.
How do I catch this error to handle it gracefully?
I'm using
react-native-touch-id 4.4.1
againstreact-native 0.57.3
in the iOS Simulator.When a user fails to match biometrics, then cancels the Face ID (in my case) prompt, an error is thrown that makes React Native show a full screen red stack trace, that I can't seem to catch:
LAErrorUserCancel: Authentication was canceled by the user—for example, the user tapped Cancel in the dialog.
How do I catch this error to handle it gracefully?
A code snippet: