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

"FingerprintScannerNotEnrolled" error always show although i rolled finger print on Android #200

Open
tackanoway35 opened this issue Dec 1, 2021 · 2 comments

Comments

@tackanoway35
Copy link

Step 1. Authenticate -> Show "FingerprintScannerNotEnrolled" message
Step 2. Go to setting and roll finger print (Don't kill app)
Step 3. Comeback my app and authenticate. "FingerprintScannerNotEnrolled" error always show although i rolled finger print on Android
Version
react-native: 0.59
react-native-fingerprint-scanner: "2.6.2"
How to fix this bug?
Thanks u

@tackanoway35
Copy link
Author

Then i kill and reopen app. "FingerprintScannerNotEnrolled" message is disappeared.

@mikehardy
Copy link
Collaborator

I wonder if it has to do with this:

// memoize so can be accessed to cancel
if (biometricPrompt != null) {
return biometricPrompt;
}

The way all the biometric stuff works changed with android API28 (Android P) and you don't specify what device under test is running, this guess is for >= 28

I could not find any relevant issues on stackoverflow which is usually an indicator that platform API usage is incorrect, stated differently - the code here may not be 100%, you might be on to something

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