Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.5.0
-
None
Description
PR : https://github.com/apache/cordova-plugin-inappbrowser/pull/66
When using inAppBrowser with Android, the viewport tag of the loaded page is ignored. As a result, some pages using a specific viewport (for instance an Ionic view) are completly zoomed out.
With iOS it's possible to fix that by passing "enableViewportScale" but for Android the only way to fix this is to set 'useWideViewPort' to 'false' . It's now harcoded to 'true' https://github.com/apache/cordova-plugin-inappbrowser/blob/master/src/android/InAppBrowser.java#L620.
We should be able to pass the value through the option (i.e : 'location=no, useWideViewPort=no')