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

CACHED object is cleared in iOS 13.5.1 after localStorage.clear #170

Open
tjaithilak opened this issue Sep 27, 2022 · 0 comments
Open

CACHED object is cleared in iOS 13.5.1 after localStorage.clear #170

tjaithilak opened this issue Sep 27, 2022 · 0 comments

Comments

@tjaithilak
Copy link

Versions (please complete the following information):

  • NgxWebstorage: 2.0.1
  • Angular: 8.2.2

Describe the bug
After storing an object(language details) in localStorage, when I clear the localStorage it, angular app is still able to get the language details from CACHED object in all iOS versions except 13.5.1.

To Reproduce
Steps to reproduce the behavior:

  1. Store a value in the localStorage using store(raw, value)... This is in one angular service...
  2. Call localStorage.clear() method... This is in another Angular service.
  3. Try to retrieve the stored value using retrieve().
  4. I am UNABLE to retrieve the stored value from CACHED object only in Safari browser in iOS13.5.1.

Expected behavior
I should be able to get the value as it occurs in other iOS versions.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: iOS 13.5.1
  • Browser: safari
  • Version:

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant