{ "id": "121308", "key": "TIMOB-15549", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-06-26T19:11:41.000+0000", "created": "2013-10-17T08:12:16.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "SupportTeam" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-04-04T23:20:24.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "Hi,\r\n\r\nusing the latest continuous build 3.2.0 SDK (for instance 3.2.0.v20131004155410) the App version always returns undefined.\r\n\r\nh4. Code to reproduce\r\n{code}\r\nalert('' + Ti.App.version);\r\n{code}\r\n\r\nh4. Workaround\r\nA workaround for me is to access the version number like this:\r\n\r\n{code}\r\nTi.App.__def__.constants.version;\r\n{code}\r\n\r\nWould be of course nice to have a fix for this though.\r\n\r\nLink to Q&A: [http://developer.appcelerator.com/question/158327/mobileweb---app-version-number-is-undefined]", "attachment": [], "flagged": false, "summary": "MobileWeb; App version number is undefined", "creator": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Mobile SDK 3.1.3.GA", "comment": { "comments": [ { "id": "422803", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Marking ticket as \"Won't Fix\" as MobileWeb has been deprecated.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-26T19:11:41.000+0000", "updated": "2017-06-26T19:11:41.000+0000" }, { "id": "436358", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:24.000+0000", "updated": "2018-04-04T23:20:24.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }