Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <widget xmlns="http://www.w3.org/ns/widgets"
- xmlns:gap="http://phonegap.com/ns/1.0"
- xmlns:android="http://schemas.android.com/apk/res/android"
- id="uk.ac.aber.dcs.cwl.conference"
- version="1.0.0">
- <!--
- The name and description are used in the PhoneGap Build website
- -->
- <name>Conference app</name>
- <description>Browse conference sessions and discover venues</description>
- <!--
- Identifies the author and their contact details. The email is displayed on the
- PhoneGap Build website
- -->
- <author href="http://users.aber.ac.uk/cwl"
- email="cwl@aber.ac.uk">
- Chris Loftus
- </author>
- <content src="index.html"/>
- <!--gap:config-file platform="android">
- <application android:debuggable="true"/>
- </gap:config-file-->
- <!--platform name="android" >
- <preference name="debuggable" value="true" />
- </platform-->
- <!--
- A set of preferences generated by the PhoneGap desktop
- build tool. I've not changed any of the defaults.
- See http://docs.build.phonegap.com/en_US/configuring_preferences.md.html#Preferences
- -->
- <!-- No Android permissions allowed. Default is all permissions! -->
- <preference name="permissions" value="none"/>
- <!-- Other values are portrait and landscape -->
- <preference name="orientation" value="default"/>
- <!-- Other values are handset or tablet -->
- <preference name="target-device" value="universal"/>
- <!-- Hid the status bar at the top of the screen -->
- <preference name="fullscreen" value="true"/>
- <!-- Rubber band bouncing effect -->
- <preference name="webviewbounce" value="true"/>
- <!-- iOS only: to not apply iOS gloss to the app's icon -->
- <preference name="prerendered-icon" value="true"/>
- <preference name="stay-in-webview" value="false"/>
- <preference name="ios-statusbarstyle" value="black-opaque"/>
- <!-- iOS only: Data types such as phone numbers are automatically turned into links -->
- <preference name="detect-data-types" value="true"/>
- <!-- iOS only: App will not terminate when suspended -->
- <preference name="exit-on-suspend" value="false"/>
- <preference name="show-splash-screen-spinner" value="true"/>
- <preference name="auto-hide-splash-screen" value="true"/>
- <preference name="disable-cursor" value="false"/>
- <!-- Minimum Android SDK version supported -->
- <preference name="android-minSdkVersion" value="14"/>
- <!-- Where an Android app can be installed. Other values
- internalOnly and preferExternal, i.e. SD card -->
- <preference name="android-installLocation" value="auto"/>
- <!--
- The Cordova plugin libraries. These are the defaults
- generated by the PhoneGap desktop build tool. We are
- only using the geolocation plugin, but I've left
- them all uncommented.
- -->
- <gap:plugin name="org.apache.cordova.battery-status" source="npm"/>
- <gap:plugin name="org.apache.cordova.camera" source="npm"/>
- <gap:plugin name="org.apache.cordova.media-capture" source="npm"/>
- <gap:plugin name="org.apache.cordova.console" source="npm"/>
- <gap:plugin name="org.apache.cordova.contacts" source="npm"/>
- <gap:plugin name="org.apache.cordova.device" source="npm"/>
- <gap:plugin name="org.apache.cordova.device-motion" source="npm"/>
- <gap:plugin name="org.apache.cordova.device-orientation" source="npm"/>
- <gap:plugin name="org.apache.cordova.dialogs" source="npm"/>
- <gap:plugin name="org.apache.cordova.file" source="npm"/>
- <gap:plugin name="org.apache.cordova.file-transfer" source="npm"/>
- <gap:plugin name="org.apache.cordova.geolocation" source="npm"/>
- <gap:plugin name="org.apache.cordova.globalization" source="npm"/>
- <gap:plugin name="org.apache.cordova.inappbrowser" source="npm"/>
- <gap:plugin name="org.apache.cordova.media" source="npm"/>
- <gap:plugin name="org.apache.cordova.network-information" source="npm"/>
- <gap:plugin name="org.apache.cordova.splashscreen" source="npm"/>
- <gap:plugin name="org.apache.cordova.vibration" source="npm"/>
- <icon src="icon.png"/>
- <!--
- We can specify the icons to use for different platforms. In this case we
- have only included the Android icons (for the launcher screen) and at
- four levels of resolution so that the correct version will be used depending
- on the device screen. Note that PhoneGap will also look for a default icon
- in the project's top level folder called icon.png.
- -->
- <icon src="www/icons/android/ldpi.png" gap:platform="android" gap:qualifier="ldpi" />
- <icon src="www/icons/android/mdpi.png" gap:platform="android" gap:qualifier="mdpi" />
- <icon src="www/icons/android/hdpi.png" gap:platform="android" gap:qualifier="hdpi" />
- <icon src="www/icons/android/xhdpi.png" gap:platform="android" gap:qualifier="xhdpi" />
- <!--
- How you do splashscreens. I've not done this for this app, so commented out
- -->
- <!--
- <gap:splash src="www/res/screen/android/screen-ldpi-portrait.png" gap:platform="android" gap:qualifier="port-ldpi"/>
- -->
- <!--
- See the W3C Widget Access specification. Allows network access to specific
- domains (XHR, images etc). Here we allow access to everything. You may wish to restrict this,
- e.g. just to http://maps.google.com for the map.
- This whitelist is for webviews that don't support Content Security Policy.
- See https://github.com/apache/cordova-plugin-whitelist for details
- -->
- <access origin="*"/>
- <!--
- The plugin that implements Cordova 4.0+ webview component whitlisting policy
- -->
- <plugin name="cordova-plugin-whitelist" version="1"/>
- <!--
- Intent whitelisting: Controls which URLs the app is allowed to ask the system
- to open. On Android, this equates to sending an intent of type BROWSEABLE.
- This whitelist does not apply to plugins, only hyperlinks and calls to window.open().
- The following is more permissive than it should be for this app!
- -->
- <!-- Allow links to web pages to open in a browser -->
- <allow-intent href="http://*/*"/>
- <allow-intent href="https://*/*"/>
- <!-- Allow tel: links to open the dialer -->
- <allow-intent href="tel:*"/>
- <!-- Allow SMS links to open messaging app -->
- <allow-intent href="sms:*"/>
- <!-- Allow geo: links to open the mail app -->
- <allow-intent href="mailto:*"/>
- <!-- Allow geo: links to open maps via the map app -->
- <allow-intent href="geo:*"/>
- <!-- Allow opening of Android Play Store to show a specific app -->
- <platform name="android">
- <allow-intent href="market:*"/>
- </platform>
- <!-- Allow opening of App Store to show a specific app,
- e.g. ads that redirect users to install an app -->
- <platform name="ios">
- <allow-intent href="itms:*"/>
- <allow-intent href="itms-apps:*"/>
- </platform>
- </widget>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement