I have a meta tag in my html.
<meta name="viewport" content="width=device-width, initial-scale=1">
It works perfectly fine if I view it as a website in a browser on an android device.
However, when I build the android app with capacitor, the viewport width is ignored.
I tried different settings, but none work, example below does nothing.
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
Why? What should I do to make viewport width work? Shouldn’t the app act as a regular webview?