Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Figuring Out What Version of Cordova Created a Project

DZone's Guide to

Figuring Out What Version of Cordova Created a Project

· Java Zone
Free Resource

The single app analytics solutions to take your web and mobile apps to the next level.  Try today!  Brought to you in partnership with CA Technologies

Earlier today a user on Twitter asked how one could determine the version of Cordova used to create a project. As far as I knew there wasn't really a way to determine this, especially since there are multiple versions in play now. But I double checked on the main developer list just to be sure.

Once again, Cordova contributor Michal Mocny chimed in to provide some context. What follows is a summarized version of what he said. It meshes with what I knew as well so that makes it doubly true. ;)

While the "main" release of Cordova is (at the time I write this) 3.6.3, there are actually version numbers for the command line interface, each platform, and each individual plugin. In theory you should be more concerned with the platform and plugin versions. If the CLI updates, that may impact what you can do with the CLI (like some new feature), but it isn't changing what your application can do.

You can determine what version was used for your platforms by typing cordova platforms, as seen here:

And of course the same can be done for plugins:

So long story short - your main concern is with the versions of each platform and plugin.


CA App Experience Analytics, a whole new level of visibility. Learn more. Brought to you in partnership with CA Technologies.

Topics:

Published at DZone with permission of Raymond Camden, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}