The asset contains GetDimentions action and returns the result in a format Like:-
Return values:
width
height
xdpi
ydpi
diameter
densityValue
0.75
1.0
1.5
2.0
3.0
4.0
densityBucket
ldpi
mdpi
hdpi
xhdpi
xxhdpi
xxxhdpi
iOS has no public API for getting the device's PPI.
The plugin returns the rendered pixels of the screen.
scale
physicalWidth
physicalHeight
dpi
The plugin returns the dimensions of the viewport. You can't get the real physical dimensions or the actual DPI of the browser ( see ).