[bug] Webview android applications scaling wrong

asked 2015-06-26 12:38:11 +0300

mozggg gravatar image

updated 2015-06-26 16:50:15 +0300

We are developing games for android using Cordova. To fill the screen, we use window.innerHeight, window.innerWidth, window.devicePixelRatio values from Webview container.

But Jolla returns devicePixelRatio=1.5, which is WRONG. Our app is larger then screen and is not usable.

It seems like an old issue but still not fixed, and it affects all webview applications. https://together.jolla.com/question/1271/webview-scale-is-too-small/

edit retag flag offensive close delete