phonegap InappBrowser does not work with viewport
source link: https://www.codesd.com/item/phonegap-inappbrowser-does-not-work-with-viewport.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
phonegap InappBrowser does not work with viewport
I'm using PhoneGap 2.3 and now when I open a new URL with 'window.open', my URL opens in the inAppBrowser.
In this browser, my viewport metatag is not working but when I put my URL in a safari browser the viewport is working fine.
In PhoneGap, I have set to 'yes' for 'enableViewportScale' but it doesn't work.
Somebody have a solution?
Thanks
enableViewportScale was added in 2.4.0 so you should just need to upgrade.
http://docs.phonegap.com/en/2.4.0/cordova_inappbrowser_inappbrowser.md.html#InAppBrowser
(under window.open)
EDIT:
Also, the way to call the options is one singular string, not an object:
So it should look like this:
'location=no,enableViewportScale=yes'
Related Articles
JQuery .click () does not work with template
Rail_ 'button_to' does not work with the 'send_file'
The jQuery .on () function does not work with & ldquo; Click & rdquo; Event
Orwell Dev C ++ does not work with C ++ 11
@TableGenerator does not work with EclipseLink JPA 2.0
OnKeyListener does not work with software keyboard (Android)
Why. SECONDARY does not work with patterns (%) while .PRECIOUS does?
Anchor background image does not work with Safari / Firefox
If the statement does not work with two & lt; Long & gt; Lists [Java]
Realm.objects (). Filter does not work with Resuts & lt; T & gt;
The Android data link library does not work with the latest Gradle versions
Disqus does not work with ajax
The replacement function does not work with parentheses ()
The GAE or GAE plugin appcfg.cmd does not work with --enable_jar_splitting parameter
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK