{ "id": "166905", "key": "TIMOB-24552", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "2017-04-03T14:39:48.000+0000", "priority": null, "labels": [ "cb-tooling", "device", "model", "platform", "simulator", "titanium" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-01-30T19:22:16.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{quote}As a developer,\r\nI want to know which iOS simulator device type is being used,\r\nSo that I can use this information for app logic and testing.{quote}\r\n\r\nI would prefer that Platform.model returned the device type and have a Platform.isSimulator property. I realize this would be a breaking change so adding an additional property such as Platform.simulatorModel might be a safer option.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: Add support for iOS simulator device type property", "creator": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }