react-native-sensitive-info
react-native-sensitive-info copied to clipboard
Save sensitive data into Android's Shared Preferences with keystore encryption/iOS's Keychain for React Native
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...
I have a little problem with Jest. When I try to test a function using SInfo jest crash and says : > TypeError: Cannot read property 'setItem' of undefined Do...
The change from module.exports to export default no longer allows you to use named imports. This would be a breaking change, but it's also incompatible with the current type declarations....
I was wondering if you would be interested to also add macOS support. I have little experience with iOS or macOS development, but figured out that these would be the...
The following code (from the docs) triggers the fingerprint auth in Android while in iOs does not triggers (correctly) the Face ID. Using v6 @next I did expect a validation...
Passing `options` in all the methods should be optional, nowadays it is required to pass an empty object. At present the keys are optional, while probably they have a fallback...
There is option to don't save the secure data if the fingerprint or face id changed on IOS ? (like it work on android)
When saving data using FaceID returns undefined when you use getItem. Running the example inside this repository will be able to reproduce this issue. Clicking on "Add item using TouchID"...
https://developer.android.com/reference/kotlin/androidx/security/crypto/EncryptedSharedPreferences.html
RNSInfo is not compiling in MacOS due to this error:  Probably the solution is verifying if it is MacOS and use NSWorkspace...