[ 
https://issues.apache.org/jira/browse/CB-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864906#comment-13864906
 ] 

Jesse MacFadyen commented on CB-5710:
-------------------------------------

Can you post a more complete example?
deviceInfo.name should NOT exist
deviceInfo.model should be the same as window.clientInformation.platform
In my case, it outputs "Win64"

> 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)

Reply via email to