Shortcut in Home Screen Cached

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 ***" 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?

Replies

Hello,


Still having the issue with iOS 13.4 and an iPhone 8. Any update or fix on this?


Regards.