Skip to content

Commit a824f67

Browse files
author
Ryan Willoughby
committed
[3.1.0] updated config to target 3.1.0
1 parent f4450c0 commit a824f67

File tree

1 file changed

+27
-15
lines changed

1 file changed

+27
-15
lines changed

www/config.xml

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
PhoneGap Team
1717
</author>
1818

19-
<!--
20-
Enable individual API permissions here.
21-
The "device" permission is required for the 'deviceready' event.
22-
-->
23-
<feature name="http://api.phonegap.com/1.0/device" />
24-
2519
<!--
2620
If you do not want any permissions to be added to your app, add the
2721
following tag to your config.xml; you will still have the INTERNET
@@ -30,26 +24,45 @@
3024
<preference name="permissions" value="none"/>
3125

3226
<!-- Customize your app and platform with the preference element. -->
33-
<preference name="phonegap-version" value="2.9.0" /> <!-- all: current version of PhoneGap -->
27+
<preference name="phonegap-version" value="3.1.0" /> <!-- all: current version of PhoneGap -->
3428
<preference name="orientation" value="default" /> <!-- all: default means both landscape and portrait are enabled -->
3529
<preference name="target-device" value="universal" /> <!-- all: possible values handset, tablet, or universal -->
3630
<preference name="fullscreen" value="true" /> <!-- all: hides the status bar at the top of the screen -->
37-
<preference name="webviewbounce" value="true" /> <!-- ios: control whether the screen 'bounces' when scrolled beyond the top -->
3831
<preference name="prerendered-icon" value="true" /> <!-- ios: if icon is prerendered, iOS will not apply it's gloss to the app's icon on the user's home screen -->
39-
<preference name="stay-in-webview" value="false" /> <!-- ios: external links should open in the default browser, 'true' would use the webview the app lives in -->
4032
<preference name="ios-statusbarstyle" value="black-opaque" /> <!-- ios: black-translucent will appear black because the PhoneGap webview doesn't go beneath the status bar -->
4133
<preference name="detect-data-types" value="true" /> <!-- ios: controls whether data types (such as phone no. and dates) are automatically turned into links by the system -->
4234
<preference name="exit-on-suspend" value="false" /> <!-- ios: if set to true, app will terminate when home button is pressed -->
43-
<preference name="show-splash-screen-spinner" value="true" /> <!-- ios: if set to false, the spinner won't appear on the splash screen during app loading -->
4435
<preference name="auto-hide-splash-screen" value="true" /> <!-- ios: if set to false, the splash screen must be hidden using a JavaScript API -->
4536
<preference name="disable-cursor" value="false" /> <!-- blackberry: prevents a mouse-icon/cursor from being displayed on the app -->
4637
<preference name="android-minSdkVersion" value="7" /> <!-- android: MIN SDK version supported on the target device. MAX version is blank by default. -->
4738
<preference name="android-installLocation" value="auto" /> <!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -->
4839

49-
<!-- Plugins can also be added here. -->
50-
<!--
51-
<gap:plugin name="Example" />
52-
A list of available plugins are available at https://build.phonegap.com/docs/plugins
40+
<!-- Plugins -->
41+
42+
<!-- Core plugins -->
43+
<gap:plugin name="org.apache.cordova.battery-status" />
44+
<gap:plugin name="org.apache.cordova.camera" />
45+
<gap:plugin name="org.apache.cordova.media-capture" />
46+
<gap:plugin name="org.apache.cordova.console" />
47+
<gap:plugin name="org.apache.cordova.contacts" />
48+
<gap:plugin name="org.apache.cordova.device" />
49+
<gap:plugin name="org.apache.cordova.device-motion" />
50+
<gap:plugin name="org.apache.cordova.device-orientation" />
51+
<gap:plugin name="org.apache.cordova.dialogs" />
52+
<gap:plugin name="org.apache.cordova.file" />
53+
<gap:plugin name="org.apache.cordova.file-transfer" />
54+
<gap:plugin name="org.apache.cordova.geolocation" />
55+
<gap:plugin name="org.apache.cordova.globalization" />
56+
<gap:plugin name="org.apache.cordova.inappbrowser" />
57+
<gap:plugin name="org.apache.cordova.media" />
58+
<gap:plugin name="org.apache.cordova.network-information" />
59+
<gap:plugin name="org.apache.cordova.splashscreen" />
60+
<gap:plugin name="org.apache.cordova.vibration" />
61+
62+
<!-- Third party plugins -->
63+
<!-- A list of available plugins are available at https://build.phonegap.com/plugins -->
64+
<!--
65+
<gap:plugin name="com.phonegap.plugins.barcodescanner" />
5366
-->
5467

5568
<!-- Define app icon for each platform. -->
@@ -92,7 +105,6 @@
92105
<!--
93106
<access origin="http://phonegap.com" /> - allow any secure requests to http://phonegap.com/
94107
<access origin="http://phonegap.com" subdomains="true" /> - same as above, but including subdomains, such as http://build.phonegap.com/
95-
<access origin="http://phonegap.com" browserOnly="true" /> - only allows http://phonegap.com to be opened by the child browser.
96108
-->
97109

98110
</widget>

0 commit comments

Comments
 (0)