Workbox ServiceWorker Issue in webview IOS 16.4

Hello,

before 16.4 our PWA with service Workers and Workbox was running inside a webview and now it doesen't anymore. We use SFSafariViewController in a webview from capaciator. The Service worker gets stuck while installing giving no feedback what went wrong - it just goes redundant. I even tried loading only index.html with workbox, nothing else, still the same problem. Is workbox not compatible anymore since 16.4 or does maybe the change that you have to add the pwa to your homescreen (what is not possible in our case because we use it inside a webview) for push notfications has something do to with it ? That it now blocks the service worker inside the webview ?

It would be nice to get some feedback if others have this issue as well.

greetings

We're having an issue with our PWA/service worker on 16.4 and 16.4.1 with an organization that uses a mobile device management (MDM) application. Every other organization using our app does not have any issues with it. The org with the problem does have their users dock the application to the homescreen.

Workbox ServiceWorker Issue in webview IOS 16.4
 
 
Q