NEW 256219
REGRESSION (iOS/iPadOS 16.4): With web content filters enabled (Screen time or MDM) causes PWA to show blank white page when loading
https://bugs.webkit.org/show_bug.cgi?id=256219
Summary REGRESSION (iOS/iPadOS 16.4): With web content filters enabled (Screen time o...
jascolley@yahoo.com
Reported 2023-05-02 11:46:54 PDT
We have a PWA that utilizes services workers. Our users started reporting an issue after updating to iPadOS 16.4 or 16.4.1 where the application would no longer launch from home screen. Instead it would just show a blank white page. It also happens when trying to hit the PWA in Chrome and Safari when not added to home screen. We inspected the application using a Macbook and can see the request going through the service worker like we expect, however it is just returning empty html, head, and body tags when completing the fetch. In the network tab we only see the one request going through the service worker instead of the additional second request to the web server that we would normally expect to see. There are no errors anywhere and nothing else to analyze/try. This seems to be a widespread issue as we have found other posts regarding this. Here are a few of those - https://stackoverflow.com/questions/75943170/progressive-web-app-pwa-fails-in-ios-16-4 https://stackoverflow.com/questions/75885199/vue2-pwa-is-not-working-on-ios-16-4-devices?noredirect=1&lq=1 Also, this is reproducible with Spotify PWA we noticed too. If you navigate to https://open.spotify.com and add that URL to home screen on an iPad running 16.4 or later (we have 16.4.1 installed), then try to launch the spotify app from home screen you will see the blank white page. To reproduce the blank white page you will need to enable the web content filters by navigating to Settings -> Screen Time (turn on) -> Content & Privacy Restrictions -> Enable Content & Privacy Restrictions -> Content Restrictions -> Web Content -> Select Limit Adult Websites OR Allowed Websites (even with all PWA URLs entered in allowed websites it still fails). After enabling these settings then attempt to launch the Spotify from home screen.
Attachments
jascolley@yahoo.com
Comment 1 2023-05-02 11:48:00 PDT
We've pretty much exhausted everything we can think of to troubleshoot/debug so we were hoping if we could even get pointed in the right direction on what else to look at, etc.?
Radar WebKit Bug Importer
Comment 2 2023-05-02 14:51:47 PDT
youenn fablet
Comment 3 2023-05-09 02:18:39 PDT
I see that you commented on https://stackoverflow.com/questions/75885199/vue2-pwa-is-not-working-on-ios-16-4-devices/75961991#75961991 that this seems fixed in iOS 16.5 Beta Release 4. Can you confirm this?
jascolley@yahoo.com
Comment 4 2023-05-17 12:21:16 PDT
Hi, We completed our internal testing with the latest 16.5 Release Candidate version available for beta testing and it does appear to resolve the issue. We still have not received any communication from Apple via Feedback Assistant where we reported the issue as to a confirmation on the fix. So, hopefully this will be resolved when 16.5 is released to the public also this week sometime.
jascolley@yahoo.com
Comment 5 2023-05-17 12:21:31 PDT
Hi, We completed our internal testing with the latest 16.5 Release Candidate version available for beta testing and it does appear to resolve the issue. We still have not received any communication from Apple via Feedback Assistant where we reported the issue as to a confirmation on the fix. So, hopefully this will be resolved when 16.5 is released to the public also this week sometime.
Note You need to log in before you can comment on or make changes to this bug.