Maurus Cuelenaere created CB-9061:
-------------------------------------
Summary: [Android] shouldAllowNavigation() is evaluated before
shouldOpenExternalUrl() in CordovaWebViewImpl.onNavigationAttempt()
Key: CB-9061
URL: https://issues.apache.org/jira/browse/CB-9061
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 4.0.0
Reporter: Maurus Cuelenaere
shouldAllowNavigation() takes precedence over shouldOpenExternalUrl() in
org.apache.cordova.CordovaWebViewImpl.onNavigationAttempt(), making it
impossible to launch an external browser for a specific URL pattern when a less
specific pattern is allowed for navigation.
Example config:
{code}
<allow-navigation href="*://example.com/*" />
<allow-intent href="*://example.com/out/*" />
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]