Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.8.0
-
None
-
None
Description
As an example, when creating a new app, the www/config.xml file has the following entry:
<widget id="io.cordova.hellocordova" version="2.0.0" ...
But after cordova prepare android (as an example) the platforms/android/AndroidManifest.xml has:
<manifest ... android:versionCode="1" android:versionName="1.0"
It does update AndroidManifest.xml with the package from the config.xml, but not the version information.
Even if android:versionName was updated using version from config.xml, there would still need to be some provision for android:versionCode
All of this is also needed for iOS (in AppName-Info.plist) and I would imagine the other platforms as well.