You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/12/02 15:31:00 UTC

[jira] [Closed] (CB-7920) Real device Width and Height

     [ https://issues.apache.org/jira/browse/CB-7920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-7920.
----------------------------
    Resolution: Won't Do

Closing as no work has been done and nobody else has shown interest on it

> Real device Width and Height 
> -----------------------------
>
>                 Key: CB-7920
>                 URL: https://issues.apache.org/jira/browse/CB-7920
>             Project: Apache Cordova
>          Issue Type: Wish
>          Components: cordova-plugin-device
>            Reporter: John McLear
>            Priority: Major
>
> At current there is no way in Cordova to get the device width/height in pixels.  The only way to do this is to run in full screen then hope window.innerHeight/width is reliable..  This is not useful if you need to take into account the offset created by the notification bar(on Android for example).
> Ideally this information would be provided by the "device plugin" as:
> ``device.width`` & ``device.height``



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org