pwa-builder / PWABuilder-CLI

Node.js tool for App Generation
Other
1.63k stars 142 forks source link

Does the app actually supposed to work offline on ios/android? Or just show a "you are offline message"? #324

Open lgandecki opened 5 years ago

lgandecki commented 5 years ago

Hey guys, thanks a lot for this project.

There is one thing I don't understand - the moment I put my phone into airplane mode I get "It looks like you are offline" message. Even though if I go to the page in Safari while in the same mode, it correctly works. I get the same behavior no matter if I use my previously existing serviceworker configuration, or yours from here: https://github.com/pwa-builder/serviceworkers .

Not sure if this is something that should be working, and I'm doing something wrong - then I'm happy to debug. Or if this (offline support besides showing "looks like you are offline" page) is something only supported on web?

boyofgreen commented 5 years ago

sorry, missed this issue. depends on ther service worker you are using. What platform are you on?

lgandecki commented 5 years ago

No problem, thanks for the answer. I'm on iOS but I believe now that the service workers are not working in webview, hence the problem, right?