oyyq99999 / react-native-secure-storage

A secure AsyncStorage implementation
MIT License
74 stars 54 forks source link

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

Open climsaroj opened 3 years ago

climsaroj commented 3 years ago

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.