iOS - Bug With Universal Links

后端 未结 1 861
没有蜡笔的小新
没有蜡笔的小新 2021-01-31 06:51

I have setup Universal Links in my iOS app exactly to details following the steps outlined here:

How to Set Up Universal Links

It validates 100% successfully usi

相关标签:
1条回答
  • 2021-01-31 07:11

    Universal Links unfortunately don't work everywhere. From this page:

    • Messages | works
    • Mail | works
    • Whatsapp | works
    • Slack | works, if it's set to open Safari, not in-app browser (uses SFSafariViewController)
    • Safari | works conditionally
    • Chrome | works conditionally
    • Google | works conditionally
    • Gmail | if Chrome installed, opens link in Chrome (not Universal Link). Else, works conditionally
    • Inbox | if Chrome installed, opens link in Chrome (not Universal Link). Else, works.
    • Twitter | works conditionally
    • Facebook | works conditionally
    • FB Messenger | works conditionally
    • WeChat | works conditionally
    • Pinterest | not working
    • Telegram | not working (uses SFSafariViewController)

    Note: Conditionally working means that it works (i.e., opens the app) some of the time:

    • Universal Links will not work if you paste the link into the browser URL field.
    • Universal Links work with a user driven <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.
    • Universal Links will not work with a user driven <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.
    • Universal Links cannot be triggered via Javascript (in window.onload or via a .click() call on an <a> element), unless it is part of a user action.
    • Google, Gmail, Inbox, Twitter, Facebook, FB Messenger, WeChat -- Universal Links only work when you have a webview already open. In other words, they do not work in-app from the feed / main views. Again, they also must be cross-domain, aka if your user is on yourapp.com and clicks a Universal Link also for yourapp.com, it will not work. However, clicking from yourapp.com to bnc.lt will trigger the link to function as a Universal Link and open your app directly.
    0 讨论(0)
提交回复
热议问题