问题
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:
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.
来源:https://stackoverflow.com/questions/39245852/ios-universal-links-not-working-from-gmail-app