Open AahilShahzad opened 3 years ago
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
please help...
anyone can help please
@AahilShahzad did you figure this out?
As far as I can tell, you need to set touchId: true, showModal: true with setItem as well.
touchId: true, showModal: true
setItem
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
please help...