【发布时间】:2020-07-19 07:03:51
【问题描述】:
我有科尔多瓦应用程序,它在 webview 中打开网站 (www.example.com)。我在我的应用程序https://www.npmjs.com/package/cordova-universal-links-plugin 中添加了cordova 通用链接插件,按照完整的步骤,在我的网站www.example.com 的根目录中添加了apple-app-site-association 文件,它显示了json。
我创建了通用链接 www.example.com/activemember,我将此作为链接添加到另一个网站 www.example2.com。当我在 safari 中打开这个 www.example2.com 并单击链接时,它会打开我的应用程序并将我带到应用程序内的活动成员屏幕。
问题是我在 www.example.com 的 iframe 中显示 www.example2.com,该 iframe 显示在 cordova 应用程序的 webview 中。当我从应用程序本身的 Iframe 中单击此链接时,它不会在我的应用程序中打开特定屏幕。相反,它会在 iframe 中打开 www.example.com。如果有人可以提供帮助,我们将不胜感激。
【问题讨论】:
标签: ios cordova deep-linking ios-universal-links