We have developed a PWA that we encourage our users to dock to their home screen. One of our users has implemented some combination of Screen Time//Content & Privacy Restrictions/Content Restrictions/Web Content then enabling "Limit Adult websites". This breaks the PWA on both the home screen instance and within Safari. All we see is a white screen. We have tried adding the domain to the "Always Allow" section of the Screen Time Web Content screen, but we still just get a white page.
Has anyone else here had this issue? Anything we can do to work around this?
We reported this bug through feedback (FB12126097 ), but I was hoping someone else could help.
Here is the text of our feedback (from another developer on my team): Web apps that use service workers appear blank when "limit adult websites" is selected
This just started happening in iOS 16.4.1. The web content restriction, "restrict adult websites", causes applications that use service workers to break. My guess is that the cache storage API is no longer retrieving stored js/html assets. I have seen this on three different applications that use different javascript libraries. 1) Install the fastmail application from the apple app store. 2) No fastmail account is needed. You can see this on the login page. 3) Go to iOS settings -> content & privacy restrictions 4) Enable Content & Privacy Restrictions 5) Go to Content Restrictions -> Web Content and select "Limit Adult Websites" 6) Open the fastmail application. You will see a blank page/screen. 7) Go to iOS settings -> content & privacy restrictions and disable "Enable Content & Privacy Restrictions" 8) Close and re-open fastmail. You will see a login screen.