Ah ok. Interesting question. Just curious, what use is it to know the Cordova version from within the app? Again, it will be platform dependent.
Marc On Wed, Jun 25, 2014 at 3:19 PM, Victor Sosa <sosah.vic...@gmail.com> wrote: > Marc: I know the -v argument in the cordova command will print the version > of the Cordova runtime. > Ian: I mean from within the app. I want to know which Cordova version was > used to create a project, not the current version of the cordova installed > in the machine > > > 2014-06-25 14:12 GMT-05:00 Ian Clelland <iclell...@google.com>: > > > Hi Victor -- do you mean at runtime, from within the app? Or on your > > development machine? > > > > On Wednesday, June 25, 2014, Victor Sosa <sosah.vic...@gmail.com> wrote: > > > > > Hi Marc. > > > > > > Thanks for the reply. Even though knowing the version on iOS is a good > > > thing, I'd like to know if that's possible in a more generic way, like > a > > > command, or cordova-specific file > > > > > > > > > 2014-06-25 13:14 GMT-05:00 Marc Weiner <mhweiner...@gmail.com > > > <javascript:;>>: > > > > > > > Open the project in XCode, and click on CordovaLib.xcodeproj. There > > > should > > > > be a file called VERSION with the version number. It only has the > major > > > and > > > > minor numbers, though. > > > > > > > > Marc > > > > > > > > > > > > On Wed, Jun 25, 2014 at 1:56 PM, Victor Sosa <sosah.vic...@gmail.com > > > <javascript:;>> > > > > wrote: > > > > > > > > > I wonder if there is a way to know in which Cordova version a > project > > > was > > > > > created. Do any of you know this? > > > > > > > > > > Thanks! > > > > > > > > > > -- > > > > > Victor Adrian Sosa Herrera > > > > > Guadalajara, Jalisco > > > > > > > > > > > > > > > > > > > > > -- > > > Victor Adrian Sosa Herrera > > > IBM Software Engineer > > > Guadalajara, Jalisco > > > > > > > > > -- > Victor Adrian Sosa Herrera > IBM Software Engineer > Guadalajara, Jalisco >