Skip to content
Permalink
Browse files
Add url-policy plugin for Android so that network requests pass again.
  • Loading branch information
agrieve committed Mar 3, 2015
1 parent 4a125d6 commit 54d6641b3b9b4504a481ecbf7df41457bed45930
Showing 2 changed files with 7 additions and 0 deletions.
@@ -34,6 +34,10 @@
<access origin="https://www.google.co.uk" />
<access origin="http://techslides.com" />
<access origin="httpssss://example.com" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="tel:*" />
<allow-intent href="www.google.com" />
<platform name="blackberry10">
<access origin="file:///" />
<access origin="https://www.apache.org" />
@@ -493,6 +493,9 @@ function installPlugins() {
var linkPluginsFlag = (argv.link || argv.linkplugins) ? ' --link' : '';
shelljs.exec(cli + " plugin add org.apache.cordova.test.whitelist org.apache.cordova.test.echo --searchpath " + mobile_spec_git_dir + linkPluginsFlag + browserifyFlag);
shelljs.exec(cli + " plugin add org.apache.cordova.test-framework --searchpath " + top_dir + linkPluginsFlag + browserifyFlag);
if (argv.android) {
shelljs.exec(cli + " plugin add " + path.join(top_dir, 'cordova-plugins', 'url-policy') + linkPluginsFlag + browserifyFlag);
}

if (argv.webview == 'crosswalk') {
var xwalkPluginId = fs.existsSync('cordova-crosswalk-engine') ? 'org.crosswalk.engine' : 'https://github.com/MobileChromeApps/cordova-crosswalk-engine.git';

0 comments on commit 54d6641

Please sign in to comment.