[TIMOB-24552] iOS: Add support for iOS simulator device type property
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | n/a |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | cb-tooling, device, model, platform, simulator, titanium |
| Reporter | Brenton House |
| Assignee | Unknown |
| Created | 2017-04-03T14:39:48.000+0000 |
| Updated | 2020-01-30T19:22:16.000+0000 |
Description
{quote}As a developer,
I want to know which iOS simulator device type is being used,
So that I can use this information for app logic and testing.{quote}
I 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.
No comments