[Webkit-unassigned] [Bug 232302] New: Service worker and storage deleted after 7 days on Web application added to Home Screen

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 26 05:41:01 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=232302

            Bug ID: 232302
           Summary: Service worker and storage deleted after 7 days on Web
                    application added to Home Screen
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: Unspecified
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Service Workers
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jbergasa at yahoo.co.uk

We have a PWA using a Service Worker, Application Cache and IndexedDB to provide offline functionality to our users.

When testing, we install the PWA in our test device, an iPhone 7 running iOS 15.0.2.

We've noticed that after a week of not using the PWA, all data (Service Worker, Application Cache, IndexedDB) gets deleted and the standard Safari network error is displayed instead of our PWA's offline functionality.

We're aware of this blog post (https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/) describing the behaviour above, but this should not apply to installed Web Applications.

Our manifest.json file has "display" set to "minimal-ui", so the PWA displays in Safari instead of its own window. Could this be the case of the data loss?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211026/df771daf/attachment-0001.htm>


More information about the webkit-unassigned mailing list