允许导航和允许意图之间的区别 [英] Difference between allow-navigation and allow-intent

查看:72
本文介绍了允许导航和允许意图之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道科尔多瓦白名单中允许导航和允许意图之间的区别吗?

Does any one know the difference between allow-navigation and allow-intent in cordova whitelist ?

推荐答案

每个文档:

允许导航

控制 WebView 本身可以导航到的URL.适用于 到顶级导航.

Controls which URLs the WebView itself can be navigated to. Applies to top-level navigations only.

允许意图

控制允许该应用要求系统打开的URL.经过 默认情况下,不允许使用外部URL.

Controls which URLs the app is allowed to ask the system to open. By default, no external URLs are allowed.

白名单工作表应有所帮助.
如何将Cordova/Phonegap应用到白名单系统

This whitelist worksheet should help.
HOW TO apply the Cordova/Phonegap the whitelist system

这篇关于允许导航和允许意图之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆