- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello my friends,
AJAX work at emulation and emulation on device with app preview but does not work when compiled as APK.
What should be happenning ?
Thanks.
- Tags:
- HTML5
- Intel® XDK
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had this error too. To fix it,
- Make sure your Whitelist settings are correct under Build Settings
- Install the cordova-plugin-whitelist
- Add the meta tag <meta http-equiv="Content-Security-Policy" content="default-src 'self' * 'unsafe-inline'"> or customize per the plugin docs

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