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

getAllItems works without encryption but getItem does not

Open D4uS1 opened this issue 2 years ago • 1 comments

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

D4uS1 avatar Aug 17 '23 11:08 D4uS1

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.

stale[bot] avatar Sep 17 '23 01:09 stale[bot]