GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-19T01:07:23.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0 |
Components | Android, CLI, Tooling |
Labels | androidbuild, ay-verified, cb-verified, core |
Reporter | Metal3d |
Assignee | Chris Barber |
Created | 2011-04-15T02:31:55.000+0000 |
Updated | 2013-11-13T18:34:26.000+0000 |
I found this bug while I created new release for Android Market.
appversion is never changed from tiapp.xml file (version tag). I send you patch to correct this, to apply on 1.0.0/android/android.py
There is a trouble with this patch... in fact with "android" manifest if you need to specify a floating value for version. It could be cool to correct this quickly, everybody wich needs to upload a new revision on android market is blocked because the appversion need to greater than previous
Assigning to Don for triage... but bounce it back to iOS once you've handled it so we can check the report as well.
There is a reason the version tag isn't used, because it's not sufficient for Android. You need to specify them in the android section of the tiapp.xml in the application element. Android requires an integer version that is incremented for each release AND a string version that can be everything. I will leave it in TBS so we can discuss it, but until we get project/platform specific settings it has to be done through the android manifest.
Associated Helpdesk Ticket
http://developer.appcelerator.com/helpdesk/view/76595">http://developer.appcelerator.com/helpdesk/view/76595
Associated Helpdesk Ticket
http://appc.me/c/APP-835962We still don't generate a new versionCode for the AndroidManifest.xml when the "version" in tiapp.xml is updated. As mentioned in previous comment this is mostly due to Android requiring this to be an integer. http://developer.android.com/guide/topics/manifest/manifest-element.html#vcode
In Titanium SDK 3.2, we will populate the "android:versionName" with the
PR: https://github.com/appcelerator/titanium_mobile/pull/4781
Verified fixed on: Mac OSX 10.9 Mavericks Titanium Studio, build: 3.2.0.201311122225 Titanium SDK, build: 3.2.0.v20131112144044 CLI: 3.2.0 Alloy: 1.3.0 Android version can be specified in the tiapp.xml Closing.