Posted By

click2swanil on 09/30/18


Tagged

config karenderia


Versions (?)

config.xml


 / Published in: XHTML
 

this is my config xml file

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <widget xmlns = "https://www.w3.org/ns/widgets"
  3. xmlns:gap = "https://phonegap.com/ns/1.0"
  4. xmlns:android = "https://schemas.android.com/apk/res/android"
  5. id = "com.warme.me.mobile.app"
  6. versionCode = "26"
  7. version = "2.6">
  8. <name>Karenderia Mobile App</name>
  9. <description>
  10. Karenderia mobile app version
  11. </description>
  12. <author email="[email protected]" href="https://swapnil.tech">
  13. swapnil.tech
  14. </author>
  15.  
  16. <content src="index.html" />
  17.  
  18. <preference name="orientation" value="portrait" />
  19. <preference name="phonegap-version" value="cli-7.1.0" />
  20.  
  21. <preference name="AutoHideSplashScreen" value="false" />
  22. <preference name="SplashScreenDelay" value="10000" />
  23. <preference name="fullscreen" value="false" />
  24. <preference name="ShowSplashScreenSpinner" value="false" />
  25.  
  26. <preference name="android-minSdkVersion" value="19" />
  27. <preference name="android-targetSdkVersion" value="26" />
  28. <preference name="DisallowOverscroll" value="true" />
  29.  
  30.  
  31. <gap:plugin name="cordova-plugin-whitelist" source="npm" />
  32. <gap:plugin name="cordova-plugin-device" source="npm" />
  33. <gap:plugin name="cordova-plugin-inappbrowser" source="npm" />
  34. <gap:plugin name="cordova-plugin-splashscreen" source="npm" />
  35. <gap:plugin name="cordova-plugin-geolocation" source="npm" />
  36. <gap:plugin name="cordova-plugin-network-information" source="npm" />
  37.  
  38. <gap:plugin name="phonegap-plugin-push" source="npm" spec="2.1.2" />
  39.  
  40. <gap:plugin name="com.paypal.cordova.mobilesdk" source="npm" />
  41. <gap:plugin name="cordova-plugin-request-location-accuracy_sayeh" source="npm" spec="2.2.2" />
  42. <gap:plugin name="cordova-plugin-x-toast" source="npm" spec="2.7.0" />
  43. <gap:plugin spec="https://github.com/razorpay/razorpay-cordova.git#v1.3.5" source="git" />
  44. <gap:plugin name="cordova-plugin-media" source="npm" spec="5.0.2" />
  45. <gap:plugin name="cordova.plugins.diagnostic" source="npm" spec="4.0.0" />
  46. <gap:plugin name="cordova-plugin-buildinfo" source="npm" spec="2.0.1" />
  47. <gap:plugin name="cordova-plugin-camera" source="npm" spec="2.4.1" />
  48. <gap:plugin name="cordova-plugin-file-transfer" source="npm" spec="1.7.1" />
  49.  
  50. <gap:plugin spec="https://github.com/bastikikang/cordova-plugin-googleplus" source="git" >
  51. <variable name="REVERSED_CLIENT_ID" value="" />
  52. </gap:plugin>
  53.  
  54. <gap:plugin name="lycwed-cordova-plugin-facebook4" source="npm" spec="1.0.2" >
  55. <variable name="APP_ID" value="" />
  56. <variable name="APP_NAME" value="android login" />
  57. </gap:plugin>
  58.  
  59. <plugin name="uk.co.workingedge.phonegap.plugin.launchnavigator" source="npm" spec="4.2.1" />
  60.  
  61.  
  62.  
  63. <access origin="*" />
  64. <access origin="tel:*" launch-external="yes" />
  65.  
  66. <gap:config-file platform="android" parent="/manifest">
  67. <supports-screens android:xlargeScreens="true" android:largeScreens="true" android:smallScreens="true" />
  68. <application android:theme="@android:style/Theme.NoTitleBar" >
  69. </application>
  70. </gap:config-file>
  71.  
  72.  
  73. <platform name="ios">
  74. <config-file platform="ios" target="*-Info.plist" parent="NSLocationAlwaysUsageDescription">
  75. <string>Karenderia want to always use your location</string>
  76. </config-file>
  77. <config-file platform="ios" target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
  78. <string>Karenderia wants to use your location</string>
  79. </config-file>
  80. </platform>
  81.  
  82. <edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
  83. <string>need camera access to take pictures</string>
  84. </edit-config>
  85.  
  86. <edit-config target="NSPhotoLibraryUsageDescription" file="*-Info.plist" mode="merge">
  87. <string>need to photo library access to get pictures from there</string>
  88. </edit-config>
  89.  
  90. <edit-config target="NSLocationWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
  91. <string>need location access to find things nearby</string>
  92. </edit-config>
  93.  
  94. <edit-config target="NSLocationAlwaysAndWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
  95. <string>need location access to find things nearby</string>
  96. </edit-config>
  97.  
  98. <edit-config target="NSLocationAlwaysUsageDescription" file="*-Info.plist" mode="merge">
  99. <string>need location access to find things nearby</string>
  100. </edit-config>
  101.  
  102. <edit-config target="NSPhotoLibraryAddUsageDescription" file="*-Info.plist" mode="merge">
  103. <string>need to photo library access to save pictures there</string>
  104. </edit-config>
  105.  
  106. <edit-config target="NSMicrophoneUsageDescription" file="*-Info.plist" mode="merge">
  107. <string>need microphone access to record sounds</string>
  108. </edit-config>
  109.  
  110. <platform name="android">
  111.  
  112. <resource-file src="www/beep.wav" target="app/src/main/res/raw/beep.wav" />
  113. <resource-file src="www/beep.wav" target="res/raw/beep.wav" />
  114.  
  115. <resource-file src="google-services.json" target="google-services.json" />
  116. <resource-file src="google-services.json" target="app/google-services.json" />
  117.  
  118. <icon density="ldpi" src="res/icons/android/drawable-ldpi-icon.png" />
  119. <icon density="mdpi" src="res/icons/android/drawable-mdpi-icon.png" />
  120. <icon density="hdpi" src="res/icons/android/drawable-hdpi-icon.png" />
  121. <icon density="xhdpi" src="res/icons/android/drawable-xhdpi-icon.png" />
  122. <icon density="xxhdpi" src="res/icons/android/drawable-xxhdpi-icon.png" />
  123. <icon density="xxxhdpi" src="res/icons/android/drawable-xxxhdpi-icon.png" />
  124.  
  125. <splash density="land-ldpi" src="res/screens/android/drawable-land-ldpi-screen.png" />
  126. <splash density="land-mdpi" src="res/screens/android/drawable-land-mdpi-screen.png" />
  127. <splash density="land-hdpi" src="res/screens/android/drawable-land-hdpi-screen.png" />
  128. <splash density="land-xhdpi" src="res/screens/android/drawable-land-xhdpi-screen.png" />
  129. <splash density="land-xxhdpi" src="res/screens/android/drawable-land-xxhdpi-screen.png" />
  130. <splash density="land-xxxhdpi" src="res/screens/android/drawable-land-xxxhdpi-screen.png" />
  131. <splash density="port-ldpi" src="res/screens/android/drawable-port-ldpi-screen.png" />
  132. <splash density="port-mdpi" src="res/screens/android/drawable-port-mdpi-screen.png" />
  133. <splash density="port-hdpi" src="res/screens/android/drawable-port-hdpi-screen.png" />
  134. <splash density="port-xhdpi" src="res/screens/android/drawable-port-xhdpi-screen.png" />
  135. <splash density="port-xxhdpi" src="res/screens/android/drawable-port-xxhdpi-screen.png" />
  136. <splash density="port-xxxhdpi" src="res/screens/android/drawable-port-xxxhdpi-screen.png" />
  137. </platform>
  138.  
  139. <platform name="ios">
  140.  
  141. <resource-file src="GoogleService-Info.plist" />
  142. <resource-file src="www/beep.wav" />
  143.  
  144. <icon height="57" platform="ios" src="res/icons/ios/icon.png" width="57" />
  145. <icon height="114" platform="ios" src="res/icons/ios/[email protected]" width="114" />
  146. <icon height="40" platform="ios" src="res/icons/ios/icon-40.png" width="40" />
  147. <icon height="80" platform="ios" src="res/icons/ios/[email protected]" width="80" />
  148. <icon height="50" platform="ios" src="res/icons/ios/icon-50.png" width="50" />
  149. <icon height="100" platform="ios" src="res/icons/ios/[email protected]" width="100" />
  150. <icon height="60" platform="ios" src="res/icons/ios/icon-60.png" width="60" />
  151. <icon height="120" platform="ios" src="res/icons/ios/[email protected]" width="120" />
  152. <icon height="180" platform="ios" src="res/icons/ios/[email protected]" width="180" />
  153. <icon height="72" platform="ios" src="res/icons/ios/icon-72.png" width="72" />
  154. <icon height="144" platform="ios" src="res/icons/ios/[email protected]" width="144" />
  155. <icon height="76" platform="ios" src="res/icons/ios/icon-76.png" width="76" />
  156. <icon height="152" platform="ios" src="res/icons/ios/[email protected]" width="152" />
  157. <icon height="29" platform="ios" src="res/icons/ios/icon-small.png" width="29" />
  158. <icon height="58" platform="ios" src="res/icons/ios/[email protected]" width="58" />
  159. <icon height="87" platform="ios" src="res/icons/ios/[email protected]" width="87" />
  160.  
  161. <icon height="1024" platform="ios" src="res/icons/ios/icon-1024.png" width="1024" />
  162.  
  163. <splash height="1136" platform="ios" src="res/screens/ios/[email protected]~iphone.png" width="640" />
  164. <splash height="1334" platform="ios" src="res/screens/ios/Default-667h.png" width="750" />
  165. <splash height="2208" platform="ios" src="res/screens/ios/Default-736h.png" width="1242" />
  166. <splash height="1242" platform="ios" src="res/screens/ios/Default-Landscape-736h.png" width="2208" />
  167. <splash height="1536" platform="ios" src="res/screens/ios/[email protected]~ipad.png" width="2048" />
  168. <splash height="768" platform="ios" src="res/screens/ios/Default-Landscape~ipad.png" width="1024" />
  169. <splash height="2048" platform="ios" src="res/screens/ios/[email protected]~ipad.png" width="1536" />
  170. <splash height="1024" platform="ios" src="res/screens/ios/Default-Portrait~ipad.png" width="768" />
  171. <splash height="960" platform="ios" src="res/screens/ios/[email protected]~iphone.png" width="640" />
  172. <splash height="480" platform="ios" src="res/screens/ios/Default~iphone.png" width="320" />
  173. </platform>
  174.  
  175. </widget>

Report this snippet  

You need to login to post a comment.