Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->
- <widget xmlns:gap="http://phonegap.com/ns/1.0"
- xmlns="http://www.w3.org/ns/widgets"
- id="com.shaadimagic.app"
- version="1.0.0">
- <name>ShaadiMagic</name>
- <description>
- ShaadiMagic is an online wedding planning marketplace where user can view shaadi service providers and give ratings and review them.
- </description>
- <author href="http://shaadimagic.com" email="info@shaadimagic.com">
- ShaadiMagic Team
- </author>
- <!--
- If you do not want any permissions to be added to your app, add the
- following tag to your config.xml; you will still have the INTERNET
- permission on your app, which PhoneGap requires.
- -->
- <preference name="permissions" value="none"/>
- <!-- Customize your app and platform with the preference element. -->
- <preference name="orientation" value="default"/>
- <!-- all: default means both landscape and portrait are enabled -->
- <preference name="target-device" value="universal"/>
- <!-- all: possible values handset, tablet, or universal -->
- <preference name="fullscreen" value="true"/>
- <!-- all: hides the status bar at the top of the screen -->
- <preference name="webviewbounce" value="true"/>
- <!-- ios: control whether the screen 'bounces' when scrolled beyond the top -->
- <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 -->
- <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 -->
- <preference name="ios-statusbarstyle" value="default"/>
- <!-- ios: black-translucent will appear black because the PhoneGap webview doesn't go beneath the status bar -->
- <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 -->
- <preference name="exit-on-suspend" value="false"/>
- <!-- ios: if set to true, app will terminate when home button is pressed -->
- <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 -->
- <preference name="auto-hide-splash-screen" value="true"/>
- <!-- ios: if set to false, the splash screen must be hidden using a JavaScript API -->
- <preference name="disable-cursor" value="false"/>
- <!-- blackberry: prevents a mouse-icon/cursor from being displayed on the app -->
- <preference name="android-minSdkVersion" value="7"/>
- <!-- android: MIN SDK version supported on the target device. MAX version is blank by default. -->
- <preference name="android-installLocation" value="auto"/>
- <!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -->
- <preference name="SplashScreen" value="splash.png"/>
- <preference name="SplashScreenDelay" value="10000"/>
- <preference name="StatusBarOverlaysWebView" value="false"/>
- <!-- ios: show the status bar ontop of the app -->
- <preference name="DisallowOverscroll" value="true"/>
- <!-- ios: disable overscroll -->
- <!--
- Define a specific version of PhoneGap to build into your app.
- <preference name="phonegap-version" value="3.5.0" />
- -->
- <!-- Plugins -->
- <gap:plugin name="org.apache.cordova.device"/>
- <gap:plugin name="org.apache.cordova.network-information"/>
- <gap:plugin name="org.apache.cordova.device-motion"/>
- <gap:plugin name="org.apache.cordova.device-orientation"/>
- <gap:plugin name="org.apache.cordova.camera"/>
- <gap:plugin name="org.apache.cordova.file"/>
- <gap:plugin name="org.apache.cordova.media-capture"/>
- <gap:plugin name="org.apache.cordova.media"/>
- <gap:plugin name="org.apache.cordova.file-transfer"/>
- <gap:plugin name="org.apache.cordova.dialogs"/>
- <gap:plugin name="org.apache.cordova.vibration"/>
- <gap:plugin name="org.apache.cordova.globalization"/>
- <!-- splash screen changed to npm?
- <gap:plugin name="org.apache.cordova.splashscreen" /> -->
- <gap:plugin name="cordova-plugin-splashscreen" source="npm" version="2.1.0"/>
- <gap:plugin name="org.apache.cordova.inappbrowser"/>
- <gap:plugin name="com.phonegap.plugin.statusbar"/>
- <!-- not suported by build.phonegap.com we need to find a work around, maybe add locally? <gap:plugin name="nl.xservices.plugins.SocialSharing" />-->
- <gap:plugin name="cordova-plugin-social-message" source="npm" version="0.3.1"/>
- <gap:plugin name="com.phonegap.plugins.pushplugin"/>
- <gap:plugin name="com.phonegap.plugins.facebookconnect" version="0.9.0">
- <param name="APP_ID" value="1461602220808632"/>
- <param name="APP_NAME" value=“shaadimagic”/>
- </gap:plugin>
- <!-- Define app icon for each platform. -->
- <icon src="icon.png"/>
- <icon src="res/icon/android/drawable-ldpi/appicon.png" gap:platform="android" gap:qualifier="ldpi"/>
- <icon src="res/icon/android/drawable-mdpi/appicon.png" gap:platform="android" gap:qualifier="mdpi"/>
- <icon src="res/icon/android/drawable-mdpi/appicon.png" gap:platform="android" gap:qualifier="hdpi"/>
- <icon src="res/icon/android/drawable-xhdpi/appicon.png" gap:platform="android" gap:qualifier="xhdpi"/>
- <icon src="res/icon/android/drawable-xxhdpi/appicon.png" gap:platform="android" gap:qualifier="xxhdpi"/>
- <icon src="res/icon/android/drawable-xxxhdpi/appicon.png" gap:platform="android" gap:qualifier="xxxhdpi"/>
- <!-- iPhone 6 / 6+ -->
- <icon src="res/icon/ios/appicon-60@3x.png" gap:platform="ios" width="180" height="180"/>
- <!-- iPhone / iPod Touch -->
- <icon src="res/icon/ios/appicon-60.png" gap:platform="ios" width="60" height="60"/>
- <icon src="res/icon/ios/appicon-60@2x.png" gap:platform="ios" width="120" height="120"/>
- <!-- iPad -->
- <icon src="res/icon/ios/appicon-76.png" gap:platform="ios" width="76" height="76"/>
- <icon src="res/icon/ios/appicon-76@2x.png" gap:platform="ios" width="152" height="152"/>
- <!-- Settings Icon -->
- <icon src="res/icon/ios/appicon-Small.png" gap:platform="ios" width="29" height="29"/>
- <icon src="res/icon/ios/appicon-Small@2x.png" gap:platform="ios" width="58" height="58"/>
- <!-- Spotlight Icon -->
- <icon src="res/icon/ios/appicon-Small-40.png" gap:platform="ios" width="40" height="40"/>
- <icon src="res/icon/ios/appicon-Small-40@2x.png" gap:platform="ios" width="80" height="80"/>
- <!-- other ios -->
- <icon src="res/icon/ios/appicon.png" gap:platform="ios" width="57" height="57"/>
- <icon src="res/icon/ios/appicon@2x.png" gap:platform="ios" width="114" height="114"/>
- <icon src="res/icon/ios/appicon-72.png" gap:platform="ios" width="72" height="72"/>
- <icon src="res/icon/ios/appicon-72@2x.png" gap:platform="ios" width="144" height="144"/>
- <gap:splash src="splash.png"/>
- <gap:splash src="res/screen/android/res-long-port-ldpi/default.png" gap:platform="android"
- gap:qualifier="port-ldpi"/>
- <gap:splash src="res/screen/android/res-long-port-mdpi/default.png" gap:platform="android"
- gap:qualifier="port-mdpi"/>
- <gap:splash src="res/screen/android/res-long-port-hdpi/default.png" gap:platform="android"
- gap:qualifier="port-hdpi"/>
- <gap:splash src="res/screen/android/res-long-port-xhdpi/default.png" gap:platform="android"
- gap:qualifier="port-xhdpi"/>
- <gap:splash src="res/screen/android/res-long-port-xxhdpi/default.png" gap:platform="android"
- gap:qualifier="port-xxhdpi"/>
- <gap:splash src="res/screen/android/res-long-port-xxxhdpi/default.png" gap:platform="android"
- gap:qualifier="port-xxhdpi"/>
- <!-- iPhone and iPod touch -->
- <gap:splash src="res/screen/ios/Default.png" gap:platform="ios" width="320" height="480"/>
- <gap:splash src="res/screen/ios/Default@2x.png" gap:platform="ios" width="640" height="960"/>
- <!-- iPhone 5 / iPod Touch (5th Generation) -->
- <gap:splash src="res/screen/ios/Default-568h@2x.png" gap:platform="ios" width="640" height="1136"/>
- <!-- iPhone 6 -->
- <gap:splash src="res/screen/ios/Default-667h@2x.png" gap:platform="ios" width="750" height="1334"/>
- <gap:splash src="res/screen/ios/Default-Portrait-736h@3x.png" gap:platform="ios" width="1242" height="2208"/>
- <!-- iPad -->
- <gap:splash src="res/screen/ios/Default-Portrait.png" gap:platform="ios" width="768" height="1024"/>
- <!-- Retina iPad -->
- <gap:splash src="res/screen/ios/Default-Portrait@2x.png" gap:platform="ios" width="1536" height="2048"/>
- <!-- iOS -->
- <gap:splash src="res/screen/ios/Default-Portrait@2x.png" gap:platform="ios" width="1536" height="2048"/>
- <gap:splash src="res/screen/ios/Default-Landscape@2x.png" gap:platform="ios" width="2048" height="1536"/>
- <gap:config-file platform="ios" parent="CFBundleShortVersionString">
- <string>100</string>
- </gap:config-file>
- <!--
- Define access to external domains.
- <access /> - a blank access tag denies access to all external resources.
- <access origin="*" /> - a wildcard access tag allows access to all external resource.
- Otherwise, you can specify specific domains:
- <access origin="http://phonegap.com" /> - allow any secure requests to http://phonegap.com/
- <access origin="http://phonegap.com" subdomains="true" /> - same as above, but including subdomains, such as http://build.phonegap.com/
- <access origin="http://phonegap.com" browserOnly="true" /> - only allows http://phonegap.com to be opened by the child browser.
- -->
- <access origin="*"/>
- <!-- Added the following intents to support the removal of whitelist code from base cordova to a plugin -->
- <!-- Whitelist configuration. Refer to https://cordova.apache.org/docs/en/edge/guide_appdev_whitelist_index.md.html -->
- <plugin name="cordova-plugin-whitelist" version="1"/>
- <allow-intent href="http://*/*"/>
- <allow-intent href="https://*/*"/>
- <allow-intent href="tel:*"/>
- <allow-intent href="sms:*"/>
- <allow-intent href="mailto:*"/>
- <allow-intent href="geo:*"/>
- <platform name="android">
- <allow-intent href="market:*"/>
- </platform>
- <platform name="ios">
- <allow-intent href="itms:*"/>
- <allow-intent href="itms-apps:*"/>
- </platform>
- </widget>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement