[
https://issues.apache.org/jira/browse/CB-13649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284478#comment-16284478
]
Jan Piotrowski (Sujan) commented on CB-13649:
---------------------------------------------
StackOverflow disagrees:
https://stackoverflow.com/questions/31266019/get-the-device-model-name-when-running-on-simulator
With Swift there seems to be a workaround though:
https://stackoverflow.com/questions/33493800/how-to-get-the-iphone-type-from-simulator-ios
Unfortunately the cordova-plugin-device is not using Swift.
> Device plugin `model` doesn't work in iOS simulator
> ---------------------------------------------------
>
> Key: CB-13649
> URL: https://issues.apache.org/jira/browse/CB-13649
> Project: Apache Cordova
> Issue Type: Bug
> Reporter: Chet Corcos
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When using the cordova device plugin in the simulator, its impossible to
> detect which type of iOS device is being used because the model references
> the computer thats running the simulator
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]