Hello, seems to be a real simple question but honestly I am not enough proficient in DOM and js.
I want my app to be published in “landscape” if I use chrome for Android. And I can’t find a way to do it
I added this line in project.xml with no luck
window width=“1024” height=“768” unless=“mobile” orientation=“landscape” /
Another thing I would need to make, if possible, is to have enabled zooming and moving the whole app in chrome for android.
Again I’ve modified the line
meta id=“viewport” name=“viewport” content=“width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no” /
and
meta.setAttribute (‘content’, ‘width=device-width, initial-scale=’ + (2 / window.devicePixelRatio) + ‘, user-scalable=no’);
replacing “user-scalable=yes”
With no luck.
Thanks in advance
Luis
P.S. Still fighting with the delays in the Http requests (question published ). But not sure if is a problem of the phone, my wifi, haxe or openFl… so still finding out. As soon as I found an answer I will post it to share it with everyone!