DMXzone App Connect Browser Support Product Page


device PixelRatio doesn't work on the App for Windows Phone

Reported 29 Mar 2017 09:22:11
has this problem
29 Mar 2017 09:22:11 Michele - posted:
I'm testing your new extension on App for iOS, Android and Windows Phone.
I'm setting all the images with two copies, low and high resolution.

[img]img/menu.png" alt="img low resolution" width="265" height="160" dmx-show="browser1.device.pixelRatio == 1"/>[img]img/menu@2x.png" alt="img high resolution" width="265" height="160" dmx-show="browser1.device.pixelRatio > 1" />

It's ok for iOS and Android but the app on Windows Phone not view nothing (low and high resolution) and I've a white space.
The issue is only with the app, on IE/Edge browser works good.

I know, Windows Phone is not popular but is a Microsoft product and I think it's a good idea to offer support for this platform.



Replied 29 Mar 2017 11:47:18
29 Mar 2017 11:47:18 Teodor Kuduschiev replied:
Hi Michele,
It appears to be a bug in the mobile IE10 ...
We can implement some kind of workaround about this. Please putting this before the closing head tag, to see if it fixes the issues:

<script>window.devicePixelRatio = window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI; </script>

Replied 29 Mar 2017 12:44:54
29 Mar 2017 12:44:54 Michele - replied:
Perfect, now works good also on the app of windows phone.
Thanks Teodor!
Replied 29 Mar 2017 12:49:28
29 Mar 2017 12:49:28 Teodor Kuduschiev replied:
Great, we will include this fix in the next update.
Replied 20 Apr 2017 14:27:46
20 Apr 2017 14:27:46 Teodor Kuduschiev replied:
Hello Michele,
This issue has been fixed in the latest update of the extension. Please make sure to update it using DMXzone EM.
Replied 20 Apr 2017 14:41:15
20 Apr 2017 14:41:15 Michele - replied:
Ok, thanks!

Reply to this topic