[ 
https://issues.apache.org/jira/browse/CB-7608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15713311#comment-15713311
 ] 

ASF GitHub Bot commented on CB-7608:
------------------------------------

GitHub user jcesarmobile opened a pull request:

    https://github.com/apache/cordova-plugin-inappbrowser/pull/200

    CB-7608 (android) document useWidthViewPort

    <!--
    Please make sure the checklist boxes are all checked before submitting the 
PR. The checklist
    is intended as a quick reference, for complete details please see our 
Contributor Guidelines:
    
    http://cordova.apache.org/contribute/contribute_guidelines.html
    
    Thanks!
    -->
    
    ### Platforms affected
    Android
    
    ### What does this PR do?
    Documents new feature added in 
https://github.com/apache/cordova-plugin-inappbrowser/pull/66
    
    ### What testing has been done on this change?
    
    
    ### Checklist
    - [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
    - [X] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform 
affected.
    - [ ] Added automated test coverage as appropriate for this change.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jcesarmobile/cordova-plugin-inappbrowser 
CB-7608-doc

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-inappbrowser/pull/200.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #200
    
----
commit 55abe85e25e6b7ed2cff6fc241e664f43c550529
Author: Julio César <jcesarmob...@gmail.com>
Date:   2016-12-01T22:45:49Z

    CB-7608 (android) document useWidthViewPort

----


> Add option to set "useWideViewPort" to false.
> ---------------------------------------------
>
>                 Key: CB-7608
>                 URL: https://issues.apache.org/jira/browse/CB-7608
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin InAppBrowser
>    Affects Versions: 3.5.0
>            Reporter: Sébastien Blanc
>              Labels: Android, Triaged, pull-request-available
>
> 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') 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to