title: How can I refresh iOS homescreen PWA on app reopen
body: <p>I have created a PWA which is validated by the <code>Google Chrome Lighthouse</code> audit tool. On Android Phones the native "Add to Homescreen" prompt is displayed and on iOS, a custom "Add to Homescreen" prompt is shown.</p>
  
  <p>The problem is that on iOS the PWA saves the session and I am not redirected to the "start_url".  </p>
  
  <p>I need an option to always direct users to the "start_url" if they close the app and reopen it afterward.</p>
  
  <p>Here are the PWA files: <a href="https://www.ta-systems.net/BE-Utilities/pwc/test/" rel="noreferrer">https://www.ta-systems.net/BE-Utilities/pwc/test/</a></p>
  
  <p>I have tried mentioned in the PWA documentation, however, I was not able to get the App to refresh every time it is restarted.</p>
  
  <p>The complete code can be found here: <a href="https://www.ta-systems.net/BE-Utilities/pwc/test/" rel="noreferrer">https://www.ta-systems.net/BE-Utilities/pwc/test/</a></p>
  
  <p>The expected result should be that the application redirects to a different HTML page after 5 seconds &amp; once the app is closed and relaunched the "start_url" should be reopened.</p>
  
  <p>What happens at the moment is the following:</p>
  
  <ol>
  <li>I open the "timesheet.html" document &amp; I am prompted to add the PWA to the home screen.</li>
  <li>I add the app to the home screen.</li>
  <li>I open the app from the home screen &amp; I am redirected to "redirect.html".</li>
  <li>I close the app &amp; reopen it but the "start_url" (timesheet.html) is not opened.</li>
  <li>The app is stuck on the "redirect.html" screen.</li>
  </ol>