Advertisement
Guest User

app

a guest
Jun 28th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.38 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 = "http://www.w3.org/ns/widgets"
  5. xmlns:gap = "http://phonegap.com/ns/1.0"
  6. id = "-"
  7. version = "-">
  8.  
  9. <name>-</name>
  10.  
  11. <description>
  12. -
  13. </description>
  14.  
  15. <author href="-" email="-">
  16. -
  17. </author>
  18.  
  19. <!--
  20. If you do not want any permissions to be added to your app, add the
  21. following tag to your config.xml; you will still have the INTERNET
  22. permission on your app, which PhoneGap requires.
  23. -->
  24. <preference name="permissions" value="none"/>
  25.  
  26. <!-- Customize your app and platform with the preference element. -->
  27. <preference name="orientation" value="portrait" /> <!-- all: default means both landscape and portrait are enabled -->
  28. <preference name="target-device" value="universal" /> <!-- all: possible values handset, tablet, or universal -->
  29. <preference name="fullscreen" value="true" /> <!-- all: hides the status bar at the top of the screen -->
  30. <preference name="webviewbounce" value="true" /> <!-- ios: control whether the screen 'bounces' when scrolled beyond the top -->
  31. <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 -->
  32. <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 -->
  33. <preference name="ios-statusbarstyle" value="black-opaque" /> <!-- ios: black-translucent will appear black because the PhoneGap webview doesn't go beneath the status bar -->
  34. <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 -->
  35. <preference name="exit-on-suspend" value="false" /> <!-- ios: if set to true, app will terminate when home button is pressed -->
  36. <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 -->
  37. <preference name="auto-hide-splash-screen" value="true" /> <!-- ios: if set to false, the splash screen must be hidden using a JavaScript API -->
  38. <preference name="disable-cursor" value="false" /> <!-- blackberry: prevents a mouse-icon/cursor from being displayed on the app -->
  39. <preference name="android-installLocation" value="auto" /> <!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -->
  40. <preference name="android-build-tool" value="gradle" />
  41. <preference name="DisallowOverscroll" value="true"/>
  42. <!--
  43. Define a specific version of PhoneGap to build into your app.
  44. <preference name="phonegap-version" value="3.5.0" />
  45. -->
  46.  
  47. <!-- Plugins -->
  48.  
  49. <!-- Core plugins -->
  50. <gap:plugin name="org.apache.cordova.battery-status" />
  51. <gap:plugin name="org.apache.cordova.camera" />
  52. <gap:plugin name="org.apache.cordova.media-capture" />
  53. <gap:plugin name="org.apache.cordova.console" />
  54. <gap:plugin name="org.apache.cordova.contacts" />
  55. <gap:plugin name="org.apache.cordova.device" />
  56. <gap:plugin name="org.apache.cordova.device-motion" />
  57. <gap:plugin name="org.apache.cordova.device-orientation" />
  58. <gap:plugin name="org.apache.cordova.dialogs" />
  59. <gap:plugin name="org.apache.cordova.file" />
  60. <gap:plugin name="org.apache.cordova.file-transfer" />
  61. <plugin name="cordova-plugin-geolocation" />
  62. <gap:plugin name="org.apache.cordova.globalization" />
  63. <gap:plugin name="org.apache.cordova.inappbrowser" />
  64. <gap:plugin name="org.apache.cordova.media" />
  65. <gap:plugin name="org.apache.cordova.network-information" />
  66. <gap:plugin name="org.apache.cordova.splashscreen" />
  67. <gap:plugin name="org.apache.cordova.vibration" />
  68.  
  69.  
  70. <!-- Third party plugins -->
  71. <!-- A list of available plugins are available at https://build.phonegap.com/plugins -->
  72.  
  73.  
  74. <gap:plugin name="onesignal-cordova-plugin" source="npm" />
  75.  
  76.  
  77.  
  78. <!-- Define app icon for each platform. -->
  79. <icon src="icon.png" />
  80. <icon src="res/icon/android/icon-36-ldpi.png" gap:platform="android" gap:qualifier="ldpi" />
  81. <icon src="res/icon/android/icon-48-mdpi.png" gap:platform="android" gap:qualifier="mdpi" />
  82. <icon src="res/icon/android/icon-72-hdpi.png" gap:platform="android" gap:qualifier="hdpi" />
  83. <icon src="res/icon/android/icon-96-xhdpi.png" gap:platform="android" gap:qualifier="xhdpi" />
  84. <icon src="res/icon/blackberry/icon-80.png" gap:platform="blackberry" />
  85. <icon src="res/icon/blackberry/icon-80.png" gap:platform="blackberry" gap:state="hover"/>
  86. <icon src="res/icon/ios/icon-57.png" gap:platform="ios" width="57" height="57" />
  87. <icon src="res/icon/ios/icon-72.png" gap:platform="ios" width="72" height="72" />
  88. <icon src="res/icon/ios/icon-57-2x.png" gap:platform="ios" width="114" height="114" />
  89. <icon src="res/icon/ios/icon-72-2x.png" gap:platform="ios" width="144" height="144" />
  90. <icon src="res/icon/webos/icon-64.png" gap:platform="webos" />
  91. <icon src="res/icon/windows-phone/icon-48.png" gap:platform="winphone" />
  92. <icon src="res/icon/windows-phone/icon-173.png" gap:platform="winphone" gap:role="background" />
  93.  
  94. <!-- Define app splash screen for each platform. -->
  95. <platform name="android">
  96. <splash src="res/screen/android/screen-ldpi-portrait.png" density="ldpi" />
  97. <splash src="res/screen/android/screen-mdpi-portrait.png" density="mdpi" />
  98. <splash src="res/screen/android/screen-hdpi-portrait.png" density="hdpi" />
  99. <splash src="res/screen/android/screen-xhdpi-portrait.png" density="xhdpi" />
  100. </platform>
  101. <gap:splash src="res/screen/blackberry/screen-225.png" gap:platform="blackberry" />
  102. <platform name="ios">
  103. <!-- images are determined by width and height. The following are supported -->
  104. <splash src="res/screen/ios/Default-iphone.png" width="320" height="480"/>
  105. <splash src="res/screen/ios/Default@2x-iphone.png" width="640" height="960"/>
  106. <splash src="res/screen/ios/Default-Portrait-ipad.png" width="768" height="1024"/>
  107. <splash src="res/screen/ios/Default-Portrait@2x-ipad.png" width="1536" height="2048"/>
  108. <splash src="res/screen/ios/Default-Landscape-ipad.png" width="1024" height="768"/>
  109. <splash src="res/screen/ios/Default-Landscape@2x-ipad.png" width="2048" height="1536"/>
  110. <splash src="res/screen/ios/Default-568h@2x-iphone.png" width="640" height="1136"/>
  111. <splash src="res/screen/ios/Default-667h.png" width="750" height="1334"/>
  112. <splash src="res/screen/ios/Default-736h.png" width="1242" height="2208"/>
  113. <splash src="res/screen/ios/Default-Landscape-736h.png" width="2208" height="1242"/>
  114. </platform>
  115. <gap:splash src="res/screen/windows-phone/screen-portrait.jpg" gap:platform="winphone" />
  116.  
  117. <gap:config-file platform="ios" parent="CFBundleShortVersionString">
  118. <string>100</string>
  119. </gap:config-file>
  120.  
  121. <!--
  122. Define access to external domains.
  123. <access /> - a blank access tag denies access to all external resources.
  124. <access origin="*" /> - a wildcard access tag allows access to all external resource.
  125. Otherwise, you can specify specific domains:
  126. <access origin="http://phonegap.com" /> - allow any secure requests to http://phonegap.com/
  127. <access origin="http://phonegap.com" subdomains="true" /> - same as above, but including subdomains, such as http://build.phonegap.com/
  128. <access origin="http://phonegap.com" browserOnly="true" /> - only allows http://phonegap.com to be opened by the child browser.
  129. -->
  130.  
  131. <access origin="*"/>
  132. <!-- Added the following intents to support the removal of whitelist code from base cordova to a plugin -->
  133. <!-- Whitelist configuration. Refer to https://cordova.apache.org/docs/en/edge/guide_appdev_whitelist_index.md.html -->
  134. <plugin name="cordova-plugin-whitelist" version="1" />
  135. <allow-intent href="http://*/*" />
  136. <allow-intent href="https://*/*" />
  137. <allow-intent href="tel:*" />
  138. <allow-intent href="sms:*" />
  139. <allow-intent href="mailto:*" />
  140. <allow-intent href="geo:*" />
  141. <platform name="android">
  142. <allow-intent href="market:*" />
  143. </platform>
  144. <platform name="ios">
  145. <allow-intent href="itms:*" />
  146. <allow-intent href="itms-apps:*" />
  147. <gap:config-file platform="ios" parent="NSLocationAlwaysUsageDescription" overwrite="false">
  148. <array>
  149. <string>App X would access your position</string>
  150. </array>
  151. </gap:config-file>
  152. <gap:config-file platform="ios" parent="UIViewControllerBasedStatusBarAppearance" overwrite="true">
  153. <false/>
  154. </gap:config-file>
  155. </platform>
  156. <platform name="windows" />
  157.  
  158. </widget>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement