{ "id": "60947", "key": "TIMOB-315", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:52:41.000+0000", "created": "2011-04-15T02:27:08.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:52:41.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

The AndroidManifest.xml generator doesn't use the version from\ntiapp.xml for the string version. There currently doesn't exist a\nway to specify the integer version required by Android for the\nmarket in tiapp.xml.

{html}", "attachment": [], "flagged": false, "summary": "Android: Build Doesn't Handle Version for AndroidManifest.xml", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123096", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

The workaround is to use a custom android manifest for now.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:08.000+0000", "updated": "2011-04-15T02:27:08.000+0000" }, { "id": "123097", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

i'm moving this to 1.5 so we can close this out but i think this\nis fixed?

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:09.000+0000", "updated": "2011-04-15T02:27:09.000+0000" }, { "id": "123098", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

We don't currently have a way for the developer to provide\nincrement or set the versionCode. versionName should be what ever\nstring they enter. Currently the only way to handle this is with a\ncustom manifest file. Since we don't have project level settings\nyet.

\n

android:versionCode=\"1\" android:versionName=\"1\"

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:09.000+0000", "updated": "2011-04-15T02:27:09.000+0000" }, { "id": "123099", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

#1594 accomplishes this for Titanium 1.5.\nAttributes put on the <android>&ltmanifest> element in\ntiapp.xml are carried over to the AndroidManifest.xml. So you could\nhave, for example, the following in tiapp.xml:

\n
\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ti:app xmlns:ti=\"http://ti.appcelerator.org\">\n\n...\n<android xmlns:android=\"http://schemas.android.com/apk/res/android\">\n<manifest android:versionCode=\"5\" android:versionName=\"5\">\n<supports-screens \n  android:smallScreens=\"false\"\n  android:normalScreens=\"true\"\n  android:largeScreens=\"true\"\n  android:anyDensity=\"false\"\n/>\n<uses-sdk android:minSdkVersion=\"7\" />\n</manifest>\n</android>\n...\n</ti:app>\n
\n

Those android:versionXXX attributes will then find they're way\non to the <manifest> in AndroidManifest.xml. (In this\nexample, supports-screens and uses-sdk will also get set.)

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:27:10.000+0000", "updated": "2011-04-15T02:27:10.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }