You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/06/11 10:43:21 UTC

[jira] [Commented] (CB-3755) CLI not updating platform config files with app version from config.xml

    [ https://issues.apache.org/jira/browse/CB-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13680312#comment-13680312 ] 

ASF subversion and git services commented on CB-3755:
-----------------------------------------------------

Commit 04648ad00a2e2601f4052ca9da90377f54f9dbcd in branch refs/heads/master2 from [~devgeeks]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=04648ad ]

[CB-3755] Update platform version from config.xml

- Updates AndroidManifest.xml android:versionName with version from config.xml
- Updates AppName-Info.plist CFBundleVersion with version from config.xml

NOTE: So far this is only handling Android and iOS. WP7/8 and Blackberry need to be updated as well

                
> 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