Closed VidalQuevedo closed 5 years ago
@VidalQuevedo @markwhitfeld 3.3.0 fixed it?
@splincode no, unfortunately not. Its unrelated. Does anyone know how Safari recommends that you access these?
I couldn't reproduce it using:
Are you using Ionic or just plain angular/cli project? AOT enabled/disabled? Is that an issue only in iOS 11.4? Next time, add some more information in your issue. :)
The root cause for this issue are the security settings on a specific browsers (some years ago, it was iOS safari in incognito started to block access to localStorage/session storage). This days, many browsers use this practice, but also users are more informed so they can block all storage access. For example Block all cookies settings from chromium browsers, will block storage access too.
I tried searching for any other issues related to this in the repo, but I couldnt find. Adding the current storage plugin will break the application to load (on the cases mentioned above), unless you create a custom storage engine.
DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.