You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/05/29 09:49:51 UTC

[cordova-plugin-whitelist] branch master updated: Added information on allow-navigation preceding allow-intent (#41)

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-whitelist.git


The following commit(s) were added to refs/heads/master by this push:
     new 7725fed  Added information on allow-navigation preceding allow-intent (#41)
7725fed is described below

commit 7725fed8f8023c62acbbc715996278f4b8831455
Author: JochenDB <Jo...@users.noreply.github.com>
AuthorDate: Wed May 29 11:49:47 2019 +0200

    Added information on allow-navigation preceding allow-intent (#41)
    
    Added information on allow-navigation preceding allow-intent
---
 README.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/README.md b/README.md
index 7cb8bdf..25a5130 100644
--- a/README.md
+++ b/README.md
@@ -100,6 +100,8 @@ On Android, this equates to sending an intent of type BROWSEABLE.
 
 This whitelist does not apply to plugins, only hyperlinks and calls to `window.open()`.
 
+Note: `allow-navigation` takes precedence over `allow-intent`. Allowing navigation to all URLs with `<allow-navigation href="*" />` for example has the side effect of "capturing" all intents, so the webview navigates to them instead of triggering e.g. external apps.
+
 ## Network Request Whitelist
 
 Controls which network requests (images, XHRs, etc) are allowed to be made (via cordova native hooks).


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org