Ionic Data Storage and the Webkit Intelligent Tracking Prevention enhancements (iPadOS/iOS 13.4 and Safari 13.1 on macOS)

Regarding the upcoming changes in Webkit’s Intelligent Tracking Prevention: https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/ (iOS/iPadOS 13.4, Safari 13.1), and especially the “7-Day Cap on All Script-Writeable Storage”; how will this affect the Ionic Data Storage? And do Ionic plan to support the Storage Access API?

Hmmm, good question! Will need to think about this one and see what the total effects are.

Apple have clarified the behaviour.

PWAs added to home screen run in their own Safari instance so the 7 day timer would be reset each time the app is launched, meaning no data loss.

For native apps using WebView ITP is disabled.

1 Like

That’s great news! Thanks for linking to the Twitter thread.