SetItem prompts user for face ID
See original GitHub issueHello,
when I use setItem with the following configuration on IOS, I am prompted to authenticate with Face ID.
SInfo.setItem('password', pass, {
kSecAccessControl: 'kSecAccessControlBiometryAny',
touchID: true, //add this key
showModal: true, //add this key
// required (iOS) - A fallback string for iOS
kSecUseOperationPrompt: 'Use face-id to re-authenticate',
strings: {
// optional (Android) - You can personalize your prompt
description: 'Re-authenticate',
header: 'Use fingerprint to retrieve login info',
},
})
The expected behaviour is no prompts when using setItem and prompts when using getItem.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Change Face ID and attention settings on iPhone
Set up Face ID with Accessibility Options · Go to Settings > Face ID & Passcode. · Position your face within the frame,...
Read more >iOS | React-Native-Sensitive-Info - Mateus Andrade
When touchID is true you must pass kSecUseOperationPrompt to inform users why are you prompting TouchID or FaceID.
Read more >Face Id Authentication for android in React-Native
i want android face_id authentication sdk for my react native android app login. I have used plugins which are available which support only ......
Read more >Console Commands (Skyrim) - The Elder Scrolls Wiki - Fandom
Used to get the current quest stage for quest (use ShowQuestTargets for IDs). movetoqt <QuestID>, Move to quest target. resetquest <QuestID>, Completely resets ......
Read more >Add iOS Touch ID support for Salesforce Authenticator
Salesforce Authenticator supports both iOS Touch and Face ID, but only prompts users when using Lightning Login. Check out the help and video...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Loxrie, unfortunately that seems to be the case. Instead of dwelling on this issue, I switched to a different package (react-native-keychain) that did the job for me.
just call the
Sinfo.getItem(key)
withkSecAccessControl
it will prompt the dialog box and after face recognition it will give youundefined
then just set the value by callingSInfo.setItem(key, value)
otherwise call getItem every time when the data is notundefined
.