{ "id": "163286", "key": "AC-4470", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-09-18T18:53:57.000+0000", "created": "2016-09-18T14:50:18.000+0000", "labels": [ "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-09-18T18:53:57.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "In a CommonJS module Ti.Platform.name opposed to what is documented returns \"iOS\" while it should return \"iPhone OS\".\r\nCuriously Ti.Platform.name still return \"iPhone OS\" when used in the main app code.", "attachment": [], "flagged": false, "summary": "iOS10 Ti.Platform.name returning iOS in CommonJS module", "creator": { "name": "kangacoders", "key": "kangacoders", "displayName": "Kai De Sutter", "active": true, "timeZone": "Europe/Brussels" }, "subtasks": [], "reporter": { "name": "kangacoders", "key": "kangacoders", "displayName": "Kai De Sutter", "active": true, "timeZone": "Europe/Brussels" }, "environment": "Titanium 5.5.0GA (didn't notice with 5.4.0GA)\r\niOS10\r\nXCode 8", "comment": { "comments": [ { "id": "396467", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-18T18:53:57.000+0000", "updated": "2016-09-18T18:53:57.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }