Post

Replies

Boosts

Views

Activity

New tag …PWA
Would a new tag "PWA" be useful and appropriate. I believe PWA apps are a future trend, and in fact Steve Jobs I believe initally was in favour of Apple going in this direction? As it later happens, some might now consider PWAs to be in conflict with the App store? I for one would benefit from having a PWA tag available. Thank you for considering this and thank you for all the support available through the developer forums!
3
1
933
Aug ’21
Safari iOS PWA app behaviour
If I am offline..no internet connection and I open my PWA via Safari iOS, from its home screen icon I get a message ..No internet connection etc. Should my PWA not work offline on initial opening? It does work off line after I open it first while being online. Is this correct behaviour? Should it not work offline at all times after initial registering of the service worker? Here is my service worker code: "…. caches.open(cacheName).then(function(cache) { return cache.addAll([ '/'///my host is https:username.hostname.io//directory path to project folder '/index.html',//directory path to project folder/app name.html file …etc other files added.The PWA works well except not from home screen app icon when offline! Have I done something incorrect here? Anyone's help input or advice will be much appreciated. My PWA runs as expected on Edge but Edge has no A2HS icon in iOS Thank you
0
0
1.3k
Aug ’21
Safari iOS PWA breaks if opening an external link and then returning to my PWA
My PWA app running in Safari iOS 14.7.1 breaks if opening a link from the PWA app and then returning to the pwa app. The app is launched from a home screen icon. Everything works correctly until I open a link from the app and then return to the pwa app. It might be related to use of a javascript alert function? My PWA code works correctly including being able to open a link and return to the pwa afterwards if running the pwa in the Edge browser. Seems only to be broken if using Safari? And then only if tapping on a link to another page or url and returning to my app afterwards..from then on there are errors and dysfunction in my pwa app. Any ideas why and how to work around? Thank you.
1
2
1.6k
Aug ’21
PWA in Safari A2HS iPad breaks if opening a link and return to the PWA app
My PWA app running in Safari iOS 14.7.1 breaks if opening a link from the PWA app and then returning to the pwa app. The app is launched from a home screen icon. Everything works correctly until I open a link from the app and then return to the pwa app. It might be related to use of a javascript alert function? My PWA code works correctly including being able to open a link and return to the pwa afterwards if running the pwa in the Edge browser. Seems only to be broken if using Safari? And then only if tapping on a link to another page or url and returning to my app afterwards..from then on there are errors and dysfunction in my pwa app. Any ideas why and how to work around? Thank you.
2
0
1.1k
Aug ’21