I have a simple Safari extension for iOS.
In its popup, I want a button that will open the app via a universal link.
I have this kind-of working, except that Safari opens the actual online destination of the link with a banner at the top saying "Open in the XXXX app" and an OPEN button.
What do I have to do to go directly to the app?
More generally, I know that if I copy-and-paste a universal link into the Safari address bar, Safari does the same thing - but it does go directly to the app from an <a href="....">
link.
In my app extension JavaScript, I set window.location
. Presumably this is too similar to pasting into the address bar.
Is there some alternative to setting window.location
that is more like clicking on a link and will go directly to the universal link's app?
Thanks.