Reputation: 11185
I was using cordova and pushing that to Phonegap build. It worked, allthough PGB told me I was using an old version - a setting there I couldnt change.
I've upgraded to Cordova 4 now, a version PGB apparently doesnt support.
So, they have different lifecycles ? Do they use the same version numbers at all ? Should we stop using cordova and start using the phonegap cli if we want to use Phonegap Build ?
Upvotes: 0
Views: 82
Reputation: 53301
Cordova 4 is the version of the CLI, each platform has it's own version now. It seems that phonegap doesn't support choosing the version for each platform yet, so you have to choose a commom version for all of them (latest seems to be 3.6.3)
http://cordova.apache.org/announcements/2014/10/16/cordova-4.html
But yes, if you use phonegap build you should use phonegap CLI, not cordova CLI, as phonegap CLI allows you to push the app directly from the CLI
If you just upload your www folder to the phonegap build page, then it doesn't matter if you use cordova, phonegap or none at all, you just have to send the propper config.xml telling phonegap build which phonegap version to use
http://docs.build.phonegap.com/en_US/configuring_preferences.md.html#Preferences
Upvotes: 1