{ "id": "147851", "key": "TIMOB-18909", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [], "resolution": null, "resolutiondate": null, "created": "2015-05-15T14:45:54.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "cb-tooling" ], "versions": [], "issuelinks": [ { "id": "48303", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "149449", "key": "TIMOB-19173", "fields": { "summary": "Tiapp: Add element to set CFBundleVersion and android:versionCode", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "47743", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "139305", "key": "TIMOB-17993", "fields": { "summary": "iOS: Split CFBundleVersion and CFBundleShortVersionString ", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2019-10-02T06:22:10.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Currently, we set Ti.App.version to the version-tag of the {{tiapp.xml}} file:\r\nhttps://github.com/appcelerator/titanium_mobile/blob/35c0034605a800f5a6241d602a58d744222b2e1a/iphone/cli/commands/_build.js#L2816\r\n\r\nFor Android you can already set the {{versionName}} and {{versionCode}} directly and once TIMOB-17993 is resolved so can you for iOS's {{CFBundleShortVersionString}} and {{CFBundleVersion}}. If you set these, then {{Ti.App.version}} may not be the actual release version, affecting our own analytics - which uses this value - as well.\r\n\r\nSuggestions:\r\n\r\n* Let {{android:versionName}} and {{CFBundleShortVersionString}} override {{}} {{Ti.App.version}}\r\n* Let {{android:versionCode}} and {{CFBundleVersion}} override {{}} for {{Ti.App.build}} once TIMOB-19173 is resolved", "attachment": [], "flagged": false, "summary": "Expose build and named version via Ti.App", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 4.0.0.RC4/master", "comment": { "comments": [ { "id": "386487", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Is there an alternative for this on recent Ti releases?", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2016-05-23T17:15:04.000+0000", "updated": "2016-05-23T17:15:04.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }