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

Is it normal that getAllItems does not prompt user to scan biometrics? #35

Open
climsaroj opened this issue Apr 27, 2021 · 0 comments
Open

Comments

@climsaroj
Copy link

I did write the code which is

async function doSomething() {
const protectedData = await SInfo.getAllItems({
sharedPreferencesName: 'onSharedPrefs',
keychainService: 'onKeychain',
touchID: true,
showModal: true, //required (Android) - Will prompt user's fingerprint on Android
strings: {
// optional (Android) - You can personalize your prompt
description: 'Unlock your privatekey ',
header: 'Need Your Biometry Permission',
},
// required (iOS) - A fallback string for iOS
kSecUseOperationPrompt:
'We need your permission to retrieve encrypted data',
});
console.log('Value', protectedData);
}

but I also retrieved all key/value from getAllKeys without proving any biometrics on Android Device.

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