<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>259328</bug_id>
          
          <creation_ts>2023-07-18 18:15:45 -0700</creation_ts>
          <short_desc>Web Apps (PWA) on iOS/iPadOS does not respect dark/light mode media selector for startup image</short_desc>
          <delta_ts>2023-12-24 11:10:23 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>Safari 17</version>
          <rep_platform>All</rep_platform>
          <op_sys>iOS 16</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=262212</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=266853</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>stephen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>the.bull</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1967291</commentid>
    <comment_count>0</comment_count>
    <who name="">stephen</who>
    <bug_when>2023-07-18 18:15:45 -0700</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968183</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-07-25 18:16:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/112872756&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>