Details
-
Wish
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
None
-
None
-
None
Description
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``