Could you please try to configure <access> element within the app’s config.xml 
file to enable network access to specific domains.
More information you can get from 
http://cordova.apache.org/docs/en/5.0.0/guide_appdev_whitelist_index.md.html#Whitelist%20Guide.

Thanks,
Junwei.

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of 
Michael Murray
Sent: Tuesday, July 07, 2015 7:34 AM
To: [email protected]
Subject: [Crosswalk-help] Installed cordova-plugin-crosswalk-webview, now XHR 
doesnt work

Hi,

I have a simple cordova project, I just installed the 
cordova-plugin-crosswalk-webview plugin, and I'm now observing that the first 
XHR POST request my app makes is just hanging until it times out.

From reading around it seems like this might be solved by specifying 
"xwalk_hosts" to whitelist, but I'm having trouble figuring out where to do 
that for a cordova project (and I'm not even sure that solves the issue). I 
tried adding a manifest.json (with xwalk_hosts specified) to my cordova project 
root and in /www/ and rebuilding but I'm still seeing the same behavior from XHR

My Cordova version is 5.1.1

I installed crosswalk via: cordova plugin add cordova-plugin-crosswalk-webview

The only plugin I have installed other than xwalk is cordova-plugin-whitelist



_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to