[
https://issues.apache.org/jira/browse/CB-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865387#comment-13865387
]
shay stern commented on CB-5710:
--------------------------------
Im using phonegap 2.9,and window.device.model returns nothing, while
window.clientInformation.platform returns "win32".
> Device.model does not returns the device model on windows 8 tablets
> -------------------------------------------------------------------
>
> Key: CB-5710
> URL: https://issues.apache.org/jira/browse/CB-5710
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Device, Windows 8
> Affects Versions: 2.9.0, 3.0.0, 3.1.0, 3.2.0
> Environment: Windows 8 devices - HP Envy, HP ElitePad
> Reporter: shay stern
> Assignee: Jesse MacFadyen
>
> On windows 8 devices (like HP Envy, HP ElitePad) the device.model API returns
> nothing. to solve this I added to the device plugin code:
> me.model = info.model || info.name;
> because info.model is null on these devices, and info.name is the real device
> model.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)