Bug 259328 - Web Apps (PWA) on iOS/iPadOS does not respect dark/light mode media selector for startup image
Summary: Web Apps (PWA) on iOS/iPadOS does not respect dark/light mode media selector ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: Safari 17
Hardware: All iOS 16
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-18 18:15 PDT by stephen
Modified: 2023-12-24 11:10 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stephen 2023-07-18 18:15:45 PDT
When installing the PWA, iOS uses the correct initial splash screen. Later if the light/dark mode changes, the PWA shows the splash for rhe mode that was used when the app was installed, not the current mode.

Repro:
1. open twitter.com and install when using light mode
2. open the PWA and see the correct splash (light)
3. change to dark mode
4. close and reopen app, and see that it still shows light mode startup image even though it should show dark mode
5. repeat above steps, but starting in dark mode to see that that case is also wrong
Comment 1 Radar WebKit Bug Importer 2023-07-25 18:16:16 PDT
<rdar://problem/112872756>