[Webkit-unassigned] [Bug 192166] New: iOS 12 does not support offline feature of some PWAs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 29 11:09:21 PST 2018


            Bug ID: 192166
           Summary: iOS 12 does not support offline feature of some PWAs
           Product: WebKit
           Version: Safari 12
          Hardware: iPhone / iPad
                OS: iOS 12
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Service Workers
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: agrul at hotmail.com

iOS 12 Safari does not support the offline feature of some PWAs (Progressive Web App). It seems like Service Worker is not working properly.

For example, the following PWAs cannot work offline in iOS 12 and 12.1, but they all work perfectly in Chrome on Android or Windows:

The Air Horner PWA that is used by google to demonstrate Service Worker:
Air Horner (https://airhorner.com/)

And these two:
2048 puzzle (https://2048-opera-pwa.surge.sh/)
Voice Memos (https://voice-memos.appspot.com/)

Steps to reproduce (100% reproducible):

1. visit the PWA with Safari (iOS 12 or 12.1)
2. close the PWA tab in Safari
3. push home button on iPhone to set Safari to background
4. push the iPhone power button to turn off screen
5. push the iPhone power button again to wake up the phone
6. turn off all the network connection from the iPhone control center (both wifi and cellular)
7. open Safari, visit PWA again --> the web app fail to load [expectation: app should run offline]

However, some other offline apps seems work well, for example: 

I also created a question on stackoverflow for it earlier:

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/20181129/7513e2d5/attachment.html>

More information about the webkit-unassigned mailing list