Tommy-Carlos Williams created CB-3755:
-----------------------------------------

             Summary: CLI not updating platform config files with app version 
from config.xml
                 Key: CB-3755
                 URL: https://issues.apache.org/jira/browse/CB-3755
             Project: Apache Cordova
          Issue Type: Bug
    Affects Versions: 2.8.0
            Reporter: Tommy-Carlos Williams
            Assignee: Tommy-Carlos Williams


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to