Search code examples
cordovawhitelist

Difference between allow-navigation and allow-intent


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


Solution

  • per the documentation:

    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.

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