Software Archive
Read-only legacy content
17061 Discussions

supported versions of cordova?

Giorgio_B_1
Beginner
592 Views

 Is there an easy way to know which versions of XDK support wihch versions of cordova, i.e. a table or a list in the documentation? The only method i found is create a blank project, set a version, try to build and see if it was really built with the requested version reading the build's log. There are also strange things like this: if i set "3.5" the build succeeds, but if i set "3.5.0" the build fails.

As working versions in XDK 1621 i found 3.5 and 4.1.2, are there any others? What about newer versions of XDK?

Thanks.

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
592 Views

We are adding a pulldown to the CLI parameter in the build settings, probably in the next release, that will make it easier to know what versions are available. For now, the CLI versions are 3.3, 3.5 (aka 3.5.1) and 4.1.2. A version of CLI 5 is coming in the near future.

The versions that are supported are not a function of the XDK release but of the build servers. Major releases are generally timed to be together, but not guaranteed to occur simultaneously.

To see which version of a specific platform's Cordova framework version corresponds to the CLI version you need to inspect the Cordova lib definitions. I don't have the link handy right now, but if you do a search for the Cordova release notes you may find those numbers. If enable the console.log messages in the Cordova blank template (see the beginning of init-app.js and init-dev.js) it will spit out some of that info. Or, you can play with this sample app (https://github.com/xmnboy/hello-cordova/) to make it easier to get that info when it's running on a real device (what the Emulate and Debug tab reports may vary from the built app).

0 Kudos
Reply