Screen property not working
Closed this issue · 1 comments
manijak commented
I was trying to use the screen
property to get proper with/height when using the orientation
plugin. But the property does not work (both platforms).
require( "nativescript-platform" );
console.log("screen info:", nsPlatform.screen);
console.log("screen width:", nsPlatform.screen.width);
Console result:
screen info: function () { return getResolution(); }
screen width:
NathanaelA commented
Thank you. This is fixed in the current release along with some addition features.