{ "id": "99975", "key": "TIMOB-10685", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14126", "description": "Sprint 2012-19 Core", "name": "Sprint 2012-19 Core", "archived": true, "released": true, "releaseDate": "2012-09-24" }, { "id": "14271", "description": "2012 Sprint 19", "name": "2012 Sprint 19", "archived": true, "released": true, "releaseDate": "2012-09-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-20T12:08:55.000+0000", "created": "2012-08-28T05:33:30.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "core", "module_package", "qe-testadded" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-06-24T05:02:09.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": "h2. Problem description\r\n\r\nWhen creating an app containing constansts declared with const, the app works untill you try to distribute to the store. In that case, the following error is shown: \r\n\r\n~~~\r\nERROR - Parse error. Unsupported syntax: CONST\r\n~~~\r\n\r\nh2. Steps to reproduce\r\n1. Create a simple app with a constant:\r\n\r\n~~~\r\nconst test = \"Hello World!\";\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'black'\r\n});\r\nalert(test);\r\nwin.open();\r\n~~~\r\n\r\n2. Test the app on the device or simulator: everything works.\r\n3. Distribute the app: the app fails with the error above", "attachment": [], "flagged": false, "summary": "Android: distribute apps to the Play Store fails if the code contains \"const\"", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 2.1.1", "comment": { "comments": [ { "id": "229883", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed. Able to distribute an app to the Android App Store with no errors. Tested on: \r\nTitanium Studio, build: 3.0.0.201211301903\r\nTitanium SDK, build: 3.0.0.v20121130200208\r\n", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-04T18:53:16.000+0000", "updated": "2012-12-04T18:53:16.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }