Setting viewport width is ignored on cordova 7

Viewed 2252

A couple of years ago I developed a cordova/phonegap application. I needed to fix screen width to 1200 (some devices had a width of 962px) so I added a meta tag to set viewport content width like

<meta name="viewport" content="width=1200, user-scalable-no">

Recently I've had to add some new features and upgraded to latest cordova/phonegap versions (7.0.1/6.5.0) and it seems the viewport meta tag is ignored. Running old version I can see in the chrome devtools that html width is 1200px but with the newer version html width remains to 960px

Any idea about how to fix this issue?

1 Answers
Related