9

I have implemented iOS universal links to my app and everything is working fine when link is send to email and triggered from mail app, but not works when triggered from gmail app (opens link in embedded browser). I find out that some other app links such as Youtube or TestFlight is working from gmail app. Please help me to find out what I'm doing wrong.

3
  • can u post your code of gmail and mail
    – vaibby
    Commented Aug 31, 2016 at 9:35
  • 1
    This is not about the code it's about the universal links or some setup to make gmail app open universal links in my app instead of embedded browser. Commented Aug 31, 2016 at 10:05
  • Did you find a solution?
    – David
    Commented Dec 20, 2018 at 13:52

1 Answer 1

9

Universal Links only work in Gmail under very specific circumstances: the embedded webview needs to be already open, so clicking a Universal Link directly from the text of an email doesn't work. You can find a list with more information here.

It's possible YouTube and TestFlight actually aren't using Universal Links to trigger those apps. I haven't looked at them recently.

6
  • I have a problem with universal links for Gmail as well. You said that Gmail works under very specific circumstances. Can you please say that circumstances?
    – David
    Commented Dec 20, 2018 at 9:17
  • @david in the past, links didn't work directly from the email content. You had to click through to a page in the embedded webview, and then click a valid universal link. Seems this is now fixed though.
    – Alex Bauer
    Commented Dec 20, 2018 at 19:07
  • 1
    For me universal link worked only when I was logged with Safari. With gmaill app it was not working at all
    – David
    Commented Dec 21, 2018 at 12:33
  • A workaround for it stephenradford.me/…
    – Rubycon
    Commented Oct 21, 2020 at 9:35
  • @Rubycon the workaround solution you mentioned in your comment does not work.
    – mrdev
    Commented Jun 23, 2021 at 20:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.