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

android fingerprint native model is not showing #241

Open
AahilShahzad opened this issue Oct 27, 2020 · 3 comments
Open

android fingerprint native model is not showing #241

AahilShahzad opened this issue Oct 27, 2020 · 3 comments

Comments

@AahilShahzad
Copy link

I'm using there versions ->

"react": "16.13.1",
"react-native": "0.63.3",
"react-native-sensitive-info": "^6.0.0-alpha.6",

let secureKeys = await SInfo.getItem('test', {
sharedPreferencesName: 'mySharedPrefs',
keychainService: 'myKeychain',
touchID: true,
showModal: true, //required (Android) - Will prompt user's fingerprint on Android
strings: { // optional (Android) - You can personalize your prompt
header: 'Sign in',
description: 'Place finger to authenticate',
hint: 'Touch',
success: 'Fingerprint recognized',
notRecognized: 'Fingerprint not recognized, try again',
cancel: 'Cancel',
cancelled: 'Authentication was cancelled', // reject error message
},
kSecUseOperationPrompt: // required (iOS) - A fallback string for iOS
'We need your permission to retrieve encrypted data',
});
having issue in screenshot

Screenshot_20201027-141200

please help...

@AahilShahzad
Copy link
Author

anyone can help please

@owenadley
Copy link

@AahilShahzad did you figure this out?

@jganczorz-revolve
Copy link

As far as I can tell, you need to set touchId: true, showModal: true with setItem as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants