有谁知道 cordova whitelist 中 allow-navigation 和 allow-intent 之间的区别?
最佳答案
根据文档:
allow-navigation
Controls which URLs the WebView itself can be navigated to. Applies to top-level navigations only.
allow-intent
Controls which URLs the app is allowed to ask the system to open. By default, no external URLs are allowed.
此白名单工作表应该会有所帮助。
HOW TO apply the Cordova/Phonegap the whitelist system
关于cordova - 允许导航和允许意图之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35336522/