- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same problem :-/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would request you to disable carrier network and enable just wifi in debug mode will solve this issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For others looking at this thread, please see this related thread, which might help > https://software.intel.com/en-us/forums/intel-xdk/topic/622229

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page