RESOLVED WORKSFORME232304
PWA doesn't work in offline mode intermittently - Restarting iPhone fixes it
https://bugs.webkit.org/show_bug.cgi?id=232304
Summary PWA doesn't work in offline mode intermittently - Restarting iPhone fixes it
Yogster
Reported 2021-10-26 07:15:02 PDT
We have a PWA using a Service Worker, Application Cache and IndexedDB to provide offline functionality to our users. This is the same PWA as bug https://bugs.webkit.org/show_bug.cgi?id=232302 We've found the following behaviour in an iPhone XR running iOS 14.8: Intermittently, when using the PWA in offline mode, the standard Safari network error is displayed instead of our PWA's offline functionality. Restarting the phone brings back the PWA in offline mode, without the need to go online, along with all saved data - So unlike the bug above, it doesn't look like the data is being evicted. Our manifest.json file has "display" set to "minimal-ui", so the PWA displays in Safari instead of its own window.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-10-26 11:01:51 PDT
Marcos Caceres
Comment 2 2026-02-12 22:38:49 PST
Closing as works for me.
Note You need to log in before you can comment on or make changes to this bug.