0 Replies
      Latest reply on Apr 8, 2019 4:24 PM by chamitha
      chamitha Level 1 Level 1 (0 points)

        I'm using a Safari shortcut added to the home screen to launch a native app. The shortcut includes a snipet of javascript that executes a URL scheme registered to the app thereby launching the app. The HTML shortcut page includes the

         

        <meta name="apple-mobile-web-app-capable" content="yes">

         

        header. This was working as intended for several iOS version until 12.2 where it consistantly functions as expected on first launch following the creation of the shortcut but never again. It appears that the shortcut is cached and subsequent launches does not execute the content (javascript) of the page.

        Removing the apple-mobile-web-app-capable header from the shortcut causes it to function as expected however not in full screen and with the promt "Open this page in XXX" as documented. Therefore this is a less than ideal workaround.

         

        Any suggestions on how perhaps the caching of the shortcut can be "disabled" with the apple-mobile-web-app-capable header in use?