小编Thr*_*ria的帖子

Apache Cordova允许导航被allow-intent覆盖

我们希望应用程序上的每个链接都能够在系统的外部浏览器中打开,但选择的主机名除外.

我们尝试过put <allow-navigation href="*.hostname.com/*"/>,但是当你<allow-intent href="http://*/*" /> and <allow-intent href="https://*/*"用作应用程序中所有其他链接的intent标记时,这会被覆盖.

预期的结果是我们的主机名在应用程序中打开,但它们在外部浏览器上打开.

我已经尝试查看网上提供的所有最新文档和帮助,但无法找到我的解决方案的答案.希望你们知道.

编辑:忘了提到我们使用inappbrowser插件运行最新的cordova CLI和最新的白名单插件.

此致

丹尼尔

android whitelist ios cordova apache-cordova

6
推荐指数
1
解决办法
2505
查看次数

标签 统计

android ×1

apache-cordova ×1

cordova ×1

ios ×1

whitelist ×1