Reputation: 1188
I have setup Universal Links in my iOS app exactly to details following the steps outlined here:
It validates 100% successfully using both Branch and Apple validators. But now that I'm trying to test out the finished product, I'm having trouble.
If I type in or tap a link to my site (ex, www.mydomain.com), Safari/Chrome/Facebook goes right to my website.
However, if I go to Google, type www.mydomain.com in as the search, locate the link to my site and long press on the link, 'Open in MyApp' is one of the options and works perfectly.
Why is this? I'm pulling out my hair!
Upvotes: 6
Views: 7713
Reputation: 13613
Universal Links unfortunately don't work everywhere. From this page:
Note: Conditionally working means that it works (i.e., opens the app) some of the time:
<a href="...">
element click across domains. Example: if there is a Universal Link on google.com pointing to bnc.lt, it will open the app.<a href="...">
element click on the same domain. Example: if there is a Universal Link on google.com pointing to a different Universal Link on google.com, it will not open the app.window.onload
or via a .click()
call on an <a>
element), unless it is part of a user action.Upvotes: 24