Advertisement
Guest User

geo shaadimagic

a guest
Aug 3rd, 2015
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.64 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->
  4. <widget xmlns:gap="http://phonegap.com/ns/1.0"
  5. xmlns="http://www.w3.org/ns/widgets"
  6. id="com.shaadimagic.app"
  7. version="1.0.0">
  8.  
  9. <name>ShaadiMagic</name>
  10.  
  11. <description>
  12. ShaadiMagic is an online wedding planning marketplace where user can view shaadi service providers and give ratings and review them.
  13. </description>
  14.  
  15. <author href="http://shaadimagic.com" email="info@shaadimagic.com">
  16. ShaadiMagic Team
  17. </author>
  18.  
  19.  
  20. <!--
  21. If you do not want any permissions to be added to your app, add the
  22. following tag to your config.xml; you will still have the INTERNET
  23. permission on your app, which PhoneGap requires.
  24. -->
  25. <preference name="permissions" value="none"/>
  26.  
  27. <!-- Customize your app and platform with the preference element. -->
  28. <preference name="orientation" value="default"/>
  29. <!-- all: default means both landscape and portrait are enabled -->
  30. <preference name="target-device" value="universal"/>
  31. <!-- all: possible values handset, tablet, or universal -->
  32. <preference name="fullscreen" value="true"/>
  33. <!-- all: hides the status bar at the top of the screen -->
  34. <preference name="webviewbounce" value="true"/>
  35. <!-- ios: control whether the screen 'bounces' when scrolled beyond the top -->
  36. <preference name="prerendered-icon" value="true"/>
  37. <!-- ios: if icon is prerendered, iOS will not apply it's gloss to the app's icon on the user's home screen -->
  38. <preference name="stay-in-webview" value="false"/>
  39. <!-- ios: external links should open in the default browser, 'true' would use the webview the app lives in -->
  40. <preference name="ios-statusbarstyle" value="default"/>
  41. <!-- ios: black-translucent will appear black because the PhoneGap webview doesn't go beneath the status bar -->
  42. <preference name="detect-data-types" value="true"/>
  43. <!-- ios: controls whether data types (such as phone no. and dates) are automatically turned into links by the system -->
  44. <preference name="exit-on-suspend" value="false"/>
  45. <!-- ios: if set to true, app will terminate when home button is pressed -->
  46. <preference name="show-splash-screen-spinner" value="true"/>
  47. <!-- ios: if set to false, the spinner won't appear on the splash screen during app loading -->
  48. <preference name="auto-hide-splash-screen" value="true"/>
  49. <!-- ios: if set to false, the splash screen must be hidden using a JavaScript API -->
  50. <preference name="disable-cursor" value="false"/>
  51. <!-- blackberry: prevents a mouse-icon/cursor from being displayed on the app -->
  52. <preference name="android-minSdkVersion" value="7"/>
  53. <!-- android: MIN SDK version supported on the target device. MAX version is blank by default. -->
  54. <preference name="android-installLocation" value="auto"/>
  55. <!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -->
  56. <preference name="SplashScreen" value="splash.png"/>
  57. <preference name="SplashScreenDelay" value="10000"/>
  58. <preference name="StatusBarOverlaysWebView" value="false"/>
  59. <!-- ios: show the status bar ontop of the app -->
  60. <preference name="DisallowOverscroll" value="true"/>
  61. <!-- ios: disable overscroll -->
  62. <!--
  63. Define a specific version of PhoneGap to build into your app.
  64. <preference name="phonegap-version" value="3.5.0" />
  65. -->
  66.  
  67. <!-- Plugins -->
  68.  
  69.  
  70. <gap:plugin name="org.apache.cordova.device"/>
  71. <gap:plugin name="org.apache.cordova.network-information"/>
  72. <gap:plugin name="org.apache.cordova.device-motion"/>
  73. <gap:plugin name="org.apache.cordova.device-orientation"/>
  74. <gap:plugin name="org.apache.cordova.camera"/>
  75. <gap:plugin name="org.apache.cordova.file"/>
  76. <gap:plugin name="org.apache.cordova.media-capture"/>
  77. <gap:plugin name="org.apache.cordova.media"/>
  78. <gap:plugin name="org.apache.cordova.file-transfer"/>
  79. <gap:plugin name="org.apache.cordova.dialogs"/>
  80. <gap:plugin name="org.apache.cordova.vibration"/>
  81. <gap:plugin name="org.apache.cordova.globalization"/>
  82. <!-- splash screen changed to npm?
  83. <gap:plugin name="org.apache.cordova.splashscreen" /> -->
  84. <gap:plugin name="cordova-plugin-splashscreen" source="npm" version="2.1.0"/>
  85.  
  86. <gap:plugin name="org.apache.cordova.inappbrowser"/>
  87. <gap:plugin name="com.phonegap.plugin.statusbar"/>
  88. <!-- not suported by build.phonegap.com we need to find a work around, maybe add locally? <gap:plugin name="nl.xservices.plugins.SocialSharing" />-->
  89. <gap:plugin name="cordova-plugin-social-message" source="npm" version="0.3.1"/>
  90.  
  91. <gap:plugin name="com.phonegap.plugins.pushplugin"/>
  92. <gap:plugin name="com.phonegap.plugins.facebookconnect" version="0.9.0">
  93. <param name="APP_ID" value="1461602220808632"/>
  94. <param name="APP_NAME" value=“shaadimagic”/>
  95. </gap:plugin>
  96.  
  97.  
  98. <!-- Define app icon for each platform. -->
  99. <icon src="icon.png"/>
  100.  
  101. <icon src="res/icon/android/drawable-ldpi/appicon.png" gap:platform="android" gap:qualifier="ldpi"/>
  102. <icon src="res/icon/android/drawable-mdpi/appicon.png" gap:platform="android" gap:qualifier="mdpi"/>
  103. <icon src="res/icon/android/drawable-mdpi/appicon.png" gap:platform="android" gap:qualifier="hdpi"/>
  104. <icon src="res/icon/android/drawable-xhdpi/appicon.png" gap:platform="android" gap:qualifier="xhdpi"/>
  105. <icon src="res/icon/android/drawable-xxhdpi/appicon.png" gap:platform="android" gap:qualifier="xxhdpi"/>
  106. <icon src="res/icon/android/drawable-xxxhdpi/appicon.png" gap:platform="android" gap:qualifier="xxxhdpi"/>
  107. <!-- iPhone 6 / 6+ -->
  108. <icon src="res/icon/ios/appicon-60@3x.png" gap:platform="ios" width="180" height="180"/>
  109. <!-- iPhone / iPod Touch -->
  110. <icon src="res/icon/ios/appicon-60.png" gap:platform="ios" width="60" height="60"/>
  111. <icon src="res/icon/ios/appicon-60@2x.png" gap:platform="ios" width="120" height="120"/>
  112. <!-- iPad -->
  113. <icon src="res/icon/ios/appicon-76.png" gap:platform="ios" width="76" height="76"/>
  114. <icon src="res/icon/ios/appicon-76@2x.png" gap:platform="ios" width="152" height="152"/>
  115. <!-- Settings Icon -->
  116. <icon src="res/icon/ios/appicon-Small.png" gap:platform="ios" width="29" height="29"/>
  117. <icon src="res/icon/ios/appicon-Small@2x.png" gap:platform="ios" width="58" height="58"/>
  118. <!-- Spotlight Icon -->
  119. <icon src="res/icon/ios/appicon-Small-40.png" gap:platform="ios" width="40" height="40"/>
  120. <icon src="res/icon/ios/appicon-Small-40@2x.png" gap:platform="ios" width="80" height="80"/>
  121. <!-- other ios -->
  122. <icon src="res/icon/ios/appicon.png" gap:platform="ios" width="57" height="57"/>
  123. <icon src="res/icon/ios/appicon@2x.png" gap:platform="ios" width="114" height="114"/>
  124. <icon src="res/icon/ios/appicon-72.png" gap:platform="ios" width="72" height="72"/>
  125. <icon src="res/icon/ios/appicon-72@2x.png" gap:platform="ios" width="144" height="144"/>
  126.  
  127.  
  128.  
  129. <gap:splash src="splash.png"/>
  130.  
  131. <gap:splash src="res/screen/android/res-long-port-ldpi/default.png" gap:platform="android"
  132. gap:qualifier="port-ldpi"/>
  133. <gap:splash src="res/screen/android/res-long-port-mdpi/default.png" gap:platform="android"
  134. gap:qualifier="port-mdpi"/>
  135. <gap:splash src="res/screen/android/res-long-port-hdpi/default.png" gap:platform="android"
  136. gap:qualifier="port-hdpi"/>
  137. <gap:splash src="res/screen/android/res-long-port-xhdpi/default.png" gap:platform="android"
  138. gap:qualifier="port-xhdpi"/>
  139. <gap:splash src="res/screen/android/res-long-port-xxhdpi/default.png" gap:platform="android"
  140. gap:qualifier="port-xxhdpi"/>
  141. <gap:splash src="res/screen/android/res-long-port-xxxhdpi/default.png" gap:platform="android"
  142. gap:qualifier="port-xxhdpi"/>
  143.  
  144. <!-- iPhone and iPod touch -->
  145. <gap:splash src="res/screen/ios/Default.png" gap:platform="ios" width="320" height="480"/>
  146. <gap:splash src="res/screen/ios/Default@2x.png" gap:platform="ios" width="640" height="960"/>
  147. <!-- iPhone 5 / iPod Touch (5th Generation) -->
  148. <gap:splash src="res/screen/ios/Default-568h@2x.png" gap:platform="ios" width="640" height="1136"/>
  149. <!-- iPhone 6 -->
  150. <gap:splash src="res/screen/ios/Default-667h@2x.png" gap:platform="ios" width="750" height="1334"/>
  151. <gap:splash src="res/screen/ios/Default-Portrait-736h@3x.png" gap:platform="ios" width="1242" height="2208"/>
  152. <!-- iPad -->
  153. <gap:splash src="res/screen/ios/Default-Portrait.png" gap:platform="ios" width="768" height="1024"/>
  154. <!-- Retina iPad -->
  155. <gap:splash src="res/screen/ios/Default-Portrait@2x.png" gap:platform="ios" width="1536" height="2048"/>
  156.  
  157. <!-- iOS -->
  158. <gap:splash src="res/screen/ios/Default-Portrait@2x.png" gap:platform="ios" width="1536" height="2048"/>
  159. <gap:splash src="res/screen/ios/Default-Landscape@2x.png" gap:platform="ios" width="2048" height="1536"/>
  160.  
  161.  
  162. <gap:config-file platform="ios" parent="CFBundleShortVersionString">
  163. <string>100</string>
  164. </gap:config-file>
  165.  
  166. <!--
  167. Define access to external domains.
  168.  
  169. <access /> - a blank access tag denies access to all external resources.
  170. <access origin="*" /> - a wildcard access tag allows access to all external resource.
  171.  
  172. Otherwise, you can specify specific domains:
  173.  
  174. <access origin="http://phonegap.com" /> - allow any secure requests to http://phonegap.com/
  175. <access origin="http://phonegap.com" subdomains="true" /> - same as above, but including subdomains, such as http://build.phonegap.com/
  176. <access origin="http://phonegap.com" browserOnly="true" /> - only allows http://phonegap.com to be opened by the child browser.
  177. -->
  178.  
  179. <access origin="*"/>
  180. <!-- Added the following intents to support the removal of whitelist code from base cordova to a plugin -->
  181. <!-- Whitelist configuration. Refer to https://cordova.apache.org/docs/en/edge/guide_appdev_whitelist_index.md.html -->
  182. <plugin name="cordova-plugin-whitelist" version="1"/>
  183. <allow-intent href="http://*/*"/>
  184. <allow-intent href="https://*/*"/>
  185. <allow-intent href="tel:*"/>
  186. <allow-intent href="sms:*"/>
  187. <allow-intent href="mailto:*"/>
  188. <allow-intent href="geo:*"/>
  189. <platform name="android">
  190. <allow-intent href="market:*"/>
  191. </platform>
  192. <platform name="ios">
  193. <allow-intent href="itms:*"/>
  194. <allow-intent href="itms-apps:*"/>
  195. </platform>
  196.  
  197. </widget>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement