8

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.

1 Answers1

8

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.

Alex Bauer
  • 13,147
  • 1
  • 27
  • 44
  • 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 Dec 20 '18 at 09: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 Dec 20 '18 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 Dec 21 '18 at 12:33
  • A workaround for it https://stephenradford.me/link-to-url-scheme-or-not-and-force-out-of-the-app-youre-in/ – Rubycon Oct 21 '20 at 09:35
  • @Rubycon the workaround solution you mentioned in your comment does not work. – mrdev Jun 23 '21 at 20:36