繁体   English   中英

应用程序链接不会在 outlook email 中触发

[英]App linking doesn't trigger in outlook email

我已按照教程进行应用链接。 它工作得很好。 我创建了一个基本站点,当我单击一个按钮时,它触发了应用程序链接。

我想做的下一件事是在通过 Outlook/gmail 查看时触发应用链接。

单击按钮时,什么也没有发生,它直接进入链接。 请问为什么会出现这种情况? 应用程序链接在电子邮件中不起作用吗?

我当前的代码

MainActivity.cs

[IntentFilter(new[] { Intent.ActionView },
Categories = new[] { Intent.CategoryBrowsable, Intent.CategoryDefault },
DataScheme = "https",
DataHost = "dev.mytestsite.com",
AutoVerify =true)]

网站/电子邮件锚标记

<a href="https://dev.mytestsite.com/"> CLICK ME </a>

当我检查 html 代码时,我注意到的一件事是锚标记添加了其他属性。

在此处输入图像描述

单击 email 中的链接时,可能会添加尾随/ 看看以下是否有效:

[IntentFilter(new[] { Intent.ActionView },
Categories = new[] { Intent.CategoryBrowsable, Intent.CategoryDefault },
DataScheme = "https",
DataHost = "dev.mytestsite.com",
AutoVerify =true),
IntentFilter(new[] { Intent.ActionView },
Categories = new[] { Intent.CategoryBrowsable, Intent.CategoryDefault },
DataScheme = "https",
DataHost = "dev.mytestsite.com",
DataPathPrefix = "/",
AutoVerify =true)]

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM