WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 190269
192166
iOS 12 does not support offline feature of some PWAs
https://bugs.webkit.org/show_bug.cgi?id=192166
Summary
iOS 12 does not support offline feature of some PWAs
agrul
Reported
2018-11-29 11:09:21 PST
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:
https://simpleoffline.website
https://currency-calc.com
I also created a question on stackoverflow for it earlier:
https://stackoverflow.com/questions/53439379/ios-12-does-not-support-offline-feature-of-some-pwas
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-11-29 14:09:20 PST
<
rdar://problem/46353648
>
Alexandre C
Comment 2
2018-11-29 15:25:56 PST
Same problem here. Test iOS 12, 12.1 any devices: the files cached get completely cleared after closing safari through the task manager. It seems to be a critical issue in my opinion.
Etienne Maheu
Comment 3
2018-12-03 11:11:18 PST
Bearing in mind this (
https://bugs.webkit.org/show_bug.cgi?id=190269
) issue, the service worker works as expected when the app is pinned to the home screen. Is this Safari only?
agrul
Comment 4
2018-12-03 11:29:34 PST
According to Chris Dumez 2018-11-27 09:09:04 PST: "The fix did not ship in 12.1 so it is not surprising you are still experiencing the issue. Please give it some time.". Currently only Apple folks can verify if this is fixed by applying the patch from
https://bugs.webkit.org/show_bug.cgi?id=190269
agrul
Comment 5
2018-12-24 17:46:46 PST
The issue is resolved in iOS 12.1.2 on my iPhone 6S.
youenn fablet
Comment 6
2019-01-04 10:23:43 PST
Closing it as a duplicate of 190269. Please reopen if additional issues are tracked there. *** This bug has been marked as a duplicate of
bug 190269
***
srrevilla
Comment 7
2019-01-30 04:29:03 PST
Consultar el precio del dólar en Perú Tipo de Cambio, Conversor Moneda.
https://www.tipocambio.org/
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug