-
Notifications
You must be signed in to change notification settings - Fork 247
Description
Dear Team,
I am encountering an issue while using the rnBiometrics.simplePrompt function for biometric authentication. Below is the code snippet I am working with:
const resultObject = await rnBiometrics
.simplePrompt({
promptMessage: 'Please verify your identity'
})
.catch(error => {
console.log('Error', error);
});
console.log('resultObject', resultObject);
const { success } = resultObject;
console.log('success', success);
The issue I'm facing is that I am unable to identify whether the pattern or passcode verification has failed during the authentication process i.e-need to test phone pattern/passcode from my app pattern/passcode. I would appreciate any guidance on how to detect failure scenarios related to the pattern or passcode.
Has anyone else encountered this problem? Any help or insights would be greatly appreciated.