cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <>
Subject [jira] [Commented] (CB-9060) [Android] CordovaWebViewImpl.showWebPage loads in WebView AND launches intent
Date Thu, 25 Jun 2015 15:30:04 GMT


Joe Bowser commented on CB-9060:

I'm not getting this exact behaviour when I test the whitelist.  It doesn't seem to automatically
whitelist the host when you include it as the content src.  You have to specify that you can
navigate to it with the current implementation of the whitelist.  I think that's redundant,
but you need an allow-navigation to the site hosting the application for this to work as initially

Can you provide more information on what version of Cordova, and what version of Android.
 I've been testing this out on my Nexus 6 because it's the device I'm dogfooding right now.

> [Android] CordovaWebViewImpl.showWebPage loads in WebView AND launches intent
> -----------------------------------------------------------------------------
>                 Key: CB-9060
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 4.0.0
>            Reporter: Dan Polivy
>            Assignee: Joe Bowser
> With cordova-android@4.0.0 and the new whitelist functionality, it seems that calls to
CordovaWebView.showWebPage (via CordovaWebViewImpl implementation) are getting launched both
in the app WebView AND via Intent in the system browser.
> This happens when, for example, the Cordova app is hosted remotely, so the actual URL
is a, and the developer has included the following in config.xml:
>     <!-- Allow links to web pages to open in a browser -->
>     <allow-intent href="http://*/*" />
>     <allow-intent href="https://*/*" />
> Then, if in the app, there is a call to showWebPage with a URL at,
it will launch in both places.
> Should there be a return statement at Line 216 to prevent any attempt to load the URL
externally, if we actually load it internally?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message