You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Ajay-jain11
changed the title
The updated documentation on iOS's local storage is a little unclear.
Please updated the documentation on iOS's local storage is a little unclear.
Oct 12, 2024
I had a look at a plugin that I used to migrate local storage and the paths for the UIWebView the local storage was potentially stored in the caches folder, which was something that the OS will clear when it feels like it needs to reclaim disk space.
But it looks like WKWebview uses a non-cache folder so the docs might be representing what was accurate for UIWebView but maybe not as much for WKWebView.
OS should never erase local storage—that is, webkit's responsibility—at least not during runtime.
I believe the user can still request app data to be deleted, which will include the webview's local storage data.
Can you provide a link of what parts of the cordova documentation states that local storage can be cleared by the OS?
The updated documentation on iOS's local storage is a little unclear.
"iOS stores localStorage data in a location that may be cleaned out by the OS when space is required."
OS should never erase local storage—that is, webkit's responsibility—at least not during runtime.
Please see the details here
https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/
The text was updated successfully, but these errors were encountered: