InappBrowser phone delay does not work with viewport

I am using PhoneGap 2.3, and now when I open a new URL with "window.open", my URL opens in inAppBrowser.

In this browser, my metadata metafile does not work, but when I put my URL in the safari browser, the viewer is working fine.

In PhoneGap, I set 'yes' to 'enableViewportScale', but it does not work.

Anyone have a solution?

thank

+5
source share
2 answers

enableViewportScale was added in 2.4.0, so you just need to update.

http://docs.phonegap.com/en/2.4.0/cordova_inappbrowser_inappbrowser.md.html#InAppBrowser

(in window.open window)

EDIT:

In addition, the way to call options is one special line, not an object:

, :

'location=no,enableViewportScale=yes'
+9

window.open('http://apache.org', '_blank', 'location=no,EnableViewPortScale=yes');

( iOS)

+1

All Articles