- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I develop a mobile software since few month, its works fine !
But on last update of XDK, the CLI Cordova was update from 4.1.2 to 5.1.1 and there is a bug with the plugin 'File' (I suppose).
Explanation :
When I read a XML file with $.Ajax() of jQuery, it work fine when url is 'http://....' but not when is 'cdvfile://...'.
The bug is only when I built the APK File, on AppPreview everything's works !
I try downgrade CLI Cordova to 4.1.2, its works fine on AppPreview and APK built.
There is a bug with this plugin ?
Thanks.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think the difference between CLI4 and CLI5 that you are experiencing has to do with the changes in whitelisting. The current version of App Preview is built with the equivalent of CLI4, as is the Debug tab, so the only way to get the full behavior of CLI5 is with a build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For more information on whitelisting with Intel XDK for Cordova 5, visit https://software.intel.com/en-us/xdk/docs/using-cordova-whitelist-rules-with-intel-xdk. You may also want to consider configuring the plugin's preferences in the intelxdk.additions file. You can find configuration tips at https://github.com/apache/cordova-plugin-file#configuring-the-plugin-optional.
For updating the intelxdk.additions file, visit https://software.intel.com/en-us/xdk/docs/adding-special-build-options-to-your-xdk-cordova-app-with-the-intelxdk-config-additions-xml-file.

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