Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I do this which will open the in-app browser:</p> <pre><code> window.open(destination, '_blank', 'location=yes,enableViewportScale=yes'); </code></pre> <p>In your config.xml you should have a lot more than what you have there. This is mine:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;widget&gt; &lt;preference name="AllowInlineMediaPlayback" value="false" /&gt; &lt;preference name="AutoHideSplashScreen" value="true" /&gt; &lt;preference name="BackupWebStorage" value="cloud" /&gt; &lt;preference name="DisallowOverscroll" value="false" /&gt; &lt;preference name="EnableLocation" value="false" /&gt;&lt;!-- DEPRECATED --&gt; &lt;preference name="EnableViewportScale" value="false" /&gt; &lt;preference name="FadeSplashScreen" value="true" /&gt; &lt;preference name="FadeSplashScreenDuration" value=".25" /&gt; &lt;preference name="HideKeyboardFormAccessoryBar" value="false" /&gt; &lt;preference name="KeyboardDisplayRequiresUserAction" value="true" /&gt; &lt;preference name="KeyboardShrinksView" value="false" /&gt; &lt;preference name="MediaPlaybackRequiresUserAction" value="false" /&gt; &lt;preference name="ShowSplashScreenSpinner" value="true" /&gt; &lt;preference name="SuppressesIncrementalRendering" value="false" /&gt; &lt;preference name="TopActivityIndicator" value="gray" /&gt; &lt;content src="index.html" /&gt; &lt;plugins&gt; &lt;plugin name="Device" value="CDVDevice" /&gt; &lt;plugin name="Logger" value="CDVLogger" /&gt; &lt;plugin name="Compass" value="CDVLocation" /&gt; &lt;plugin name="Accelerometer" value="CDVAccelerometer" /&gt; &lt;plugin name="Camera" value="CDVCamera" /&gt; &lt;plugin name="NetworkStatus" value="CDVConnection" /&gt; &lt;plugin name="Contacts" value="CDVContacts" /&gt; &lt;plugin name="Debug Console" value="CDVDebugConsole" /&gt; &lt;plugin name="Echo" value="CDVEcho" /&gt; &lt;plugin name="File" value="CDVFile" /&gt; &lt;plugin name="FileTransfer" value="CDVFileTransfer" /&gt; &lt;plugin name="Geolocation" value="CDVLocation" /&gt; &lt;plugin name="Notification" value="CDVNotification" /&gt; &lt;plugin name="Media" value="CDVSound" /&gt; &lt;plugin name="Capture" value="CDVCapture" /&gt; &lt;plugin name="SplashScreen" value="CDVSplashScreen" /&gt; &lt;plugin name="Battery" value="CDVBattery" /&gt; &lt;plugin name="Globalization" value="CDVGlobalization" /&gt; &lt;plugin name="InAppBrowser" value="CDVInAppBrowser" /&gt; &lt;/plugins&gt; &lt;access origin="*" /&gt; &lt;/widget&gt; </code></pre> <p>Yours might be smaller if you don't use all of the features of PhoneGap. You'll definitely need that InAppBrowser plugin however!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload