Versioning is a very important component in application development, maintenance, and support. There are several important cases where we need versioning. These cases are as follows:
User needs to know specific information about the installed application version and about versions to install for upgrade
Other installed applications need to know the version of the application to understand their compatibility for interaction
Different backend services may communicate differently with different application versions
I would recommend that you use the three- number versioning for Cordova/PhoneGap builds. This versioning is explained here:
Major version, interface changes, huge application upgrade, and so on
Minor features, major bug fixes, and so on
Small mistakes, spelling issues, and so on
There are many different approaches to change these numbers. They could even reflect build dates.
In addition, both iOS and Android support second-version strings:
versionCode
for Android...