Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getAllItems works without encryption but getItem does not #384

Open
D4uS1 opened this issue Aug 17, 2023 · 1 comment
Open

getAllItems works without encryption but getItem does not #384

D4uS1 opened this issue Aug 17, 2023 · 1 comment

Comments

@D4uS1
Copy link

D4uS1 commented Aug 17, 2023

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

@stale
Copy link

stale bot commented Sep 17, 2023

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 stale bot added the 🚧 stale label Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant