I just upgraded to the 3240 build of the XDK and updated to Cordova 4.5.1. I add the CSP line to my index.html (<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'">) as well as adding Network request *, Intent for http://* and https://* and * for navigation (basically setting everything to access everything). It works in the emulator but when I go to debug on a device it fails with a 404 on my ajax code. I can't figure out why. Since I tried for hours to find a solution that would identify the bug in my code I eventually just did a build and it worked fine on my device.
Any ide why the debugger is failing? This really burned a lot of cycles for something that seems to be a debugger issue (I also saw another thread that seemed to indicate it might be a crosswalk 16 issue).
Any info here as to how I can debug this and why it only fails when debugging?
We haven't isolated the problem, but some users have reported if you duplicate what's in the <allow-intent> fields into the <allow-navigation> field that it works, which doesn't make sense, but is worth a try...
Raj -- can you provide more detail? I don't follow what you mean by "disable carrier network." Do you mean turn off the data connection on your device and only use wifi on the device?