allow-intentControls which URLs the app is allowed to ask the system to open. By default, no external URLs are allowed.
This plugin allows us to implement whitelist policy for app's navigation. When we create a new Cordova project, the whitelist plugin is installed and implemented by default. You can open the config. xml file to see allow-intent default settings provided by Cordova.
Cordova applications are ordinarily implemented as a browser-based WebView within the native mobile platform.
config. xml is a global configuration file that controls many aspects of a cordova application's behavior. This platform-agnostic XML file is arranged based on the W3C's Packaged Web Apps (Widgets) specification, and extended to specify core Cordova API features, plugins, and platform-specific settings.
Does any one know the difference between allow-navigation and allow-intent in cordova whitelist ?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With