react-native-sensitive-info icon indicating copy to clipboard operation
react-native-sensitive-info copied to clipboard

android fingerprint native model is not showing

Open AahilShahzad opened this issue 5 years ago • 3 comments

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 avatar Oct 27 '20 09:10 AahilShahzad

anyone can help please

AahilShahzad avatar Dec 08 '20 07:12 AahilShahzad

@AahilShahzad did you figure this out?

owenadley avatar Oct 20 '21 20:10 owenadley

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

jganczorz-revolve avatar Nov 23 '22 07:11 jganczorz-revolve