question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS 13.4 and Safari 13.1 persistent storage

See original GitHub issue

Like mentioned on https://github.com/localForage/localForage/issues/943 Apple announced to clear all script-writeable storages after 7 days of inactivity on WebKit in iOS 13.4 and Safari 13.1.

More info: https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/ Storages affected: Indexed DB, LocalStorage, Media keys, SessionStorage, Service Worker registrations

Will this also reflect on cordova apps using this plugin without sqllite and should be added to the readme.

Edit: i think native cordova apps should not be affected by this, as only domains that have been classified by ITP to track users are affected: https://webkit.org/blog/9521/intelligent-tracking-prevention-2-3/

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
tofumattcommented, Mar 25, 2020

To clarify: all sites visited by Safari are affected by this change, regardless of domain. There’s more context in https://github.com/localForage/localForage/issues/943

But Cordova apps won’t be affected by this because only Safari has ITP enabled; code using WebViews/WKWebView/etc. doesn’t have ITP enabled so should be fine. 🙂

Only websites visited by Safari are affected.

0reactions
mhartingtoncommented, Mar 26, 2020

Hey everyone. Just catching this issue.

As it stands right now, the following is true:

  • Storage mechanism in WKWebview are not affected by this change. So hybrid web apps are safe
  • Web Apps saved to the home screen are also not affected by this change. See this tweet from Apple/Safari Devrel.

https://twitter.com/jonathandavis/status/1243228885006708737

  • Web Apps accessed through Safari will have a 7 day timer on storage. If a user does not interact with a site, the storage will be deleted.

This is all the information we have currently. There’s still some confusion on the details, but there’s been a lot of confirmation from Apple that this will not affect web apps.

There’s still a lot of question, like is the storage cleared from first-party or 3rd-party? Or both? We’re observing the situation but would like to reassure that we are on top of this.

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS 13.4 and Safari 13.1 persistent storage · Issue #943 - GitHub
These are the script-writable storage forms affected (excluding some legacy website data types):. Indexed DB; LocalStorage; Media keys ...
Read more >
Safari 13 Release Notes | Apple Developer Documentation
Added automatic support for Fast Tap to desktop websites on iPad. Reduced load time up to 50% for webpages on watchOS. Reduced the...
Read more >
Apple: Relax, we're not totally screwing web apps. But yes ...
With the arrival of Safari 13.1 and iOS/iPadOS 13.4, Apple's mobile and desktop browsers will delete data stored in the browser by ...
Read more >
Storage for the web
Starting in iOS and iPadOS 13.4 and Safari 13.1 on macOS, there is a seven-day cap on all script writable storage, including IndexedDB, ......
Read more >
Is IndexedDB on Safari guaranteed to be persistent?
Chrome has explicit persistent storage option which will guarantee no ... to be persistentfrom iOS and iPadOS 13.4 and Safari 13.1 on macOS....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found