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

Failed Fallback #303

Open
krishna11124 opened this issue Jan 27, 2025 · 0 comments
Open

Failed Fallback #303

krishna11124 opened this issue Jan 27, 2025 · 0 comments

Comments

@krishna11124
Copy link

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.

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

1 participant