[
https://issues.apache.org/jira/browse/CB-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah resolved CB-1836.
----------------------------------
Resolution: Fixed
Fix commit - http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/8ea3ed44
> Device core plugin - device.platform should return "iOS"
> --------------------------------------------------------
>
> Key: CB-1836
> URL: https://issues.apache.org/jira/browse/CB-1836
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Shazron Abdullah
> Assignee: Shazron Abdullah
> Fix For: 2.3.0
>
>
> Currently if you ask for device.platform you will get several different
> responses on iOS. You'll get iPhone, iPad, iPod Touch, etc. This seems
> backwards. All of these should return 'iOS'.
> What device.platform returns now should really be what device.name returns.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira