react-native-sensitive-info
react-native-sensitive-info copied to clipboard
getAllItems works without encryption but getItem does not
HI all,
i used the package recently to load unencrypted shared preferences.
This works fine for the getAllItems method, but it does not work for the getItem method.
This is because the getItem method rejects the promise on decryption error but the getAllItems method only logs the error and puts the unencrypted result to the resultmap.
I don't know if this is the expected behavior, but i would expect both methods to have the same behavior.
Thank you and have a nice day
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.