Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7608

Add option to set "useWideViewPort" to false.

    XMLWordPrintableJSON

Details

    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')

      Attachments

        Activity

          People

            jcesarmobile jcesarmobile
            sebastienblanc Sébastien Blanc
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: