I do think we should add in this setting, but probably should clarify the
name of it to be more x-platform and clear as to what it does (sets the
default viewport <meta> to device-width).

If you can have your oauth server serve a page with a viewport <meta> tag
in it, that would be a more proper way to resolve the issue. Of course - I
could be off-base here with assuming this is the case, but it has come up
before so I'm jumping to conclusions (please correct me!)

On Mon, Sep 22, 2014 at 8:54 AM, Sebastien Blanc <[email protected]>
wrote:

> Hi,
>
> Could someone please review and merge this pull request :
> https://github.com/apache/cordova-plugin-inappbrowser/pull/66
>
> It enables the viewport to scale correctly on Android. We are facing the
> problem with an oauth2 server that serves a login page with the right
> viewport  (styled with ionic) but the InAppBrowser seems to overide this
> setting by setting useWidthViewPort to 'true'.
>
> This PR makes it possible to pass a "no" value for this in the options.
>
> Seb
>

Reply via email to