Post

Replies

Boosts

Views

Activity

iOS 17 Safari / PWA web app issues
Hi, We are developing a web application that was working fine until iOS version 16.6.1, both in Safari and PWA mode. However, visitors that have iOS 17 installed experience some kind of caching issues. For your information, our web application is built with Angular and upon opening you're presented with a pulsing logo, and afterwards with either the homepage or a login screen, depending on the session. If you just updated to iOS 17 and have the PWA already installed, upon opening the PWA nothing is shown, except for a question mark replacing the logo. Nothing is happening anymore. The only thing to get it back to work, is to open the page in Safari, almost like it needs the Safari cache to contain the necessary files. But here comes the strange part: After closing Safari (remove it from the task manager) with our website opened in one tab, my cache still holds the files from our web app, but the PWA will still fail to load properly. If you would now open Safari, even the 'old' open tab will show the same behavior as the PWA. Refreshing the page will fix this most of the time (but not always). Closing and opening the PWA application again will then work usually (also: not always). Sometime while refreshing, FetchEvent.respondWith runs into an TypeError (Internal error). Does anyone run into the same issue or know how to fix this? Thanks in advance!
11
9
7.9k
Sep ’23