config.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <widget defaultlocale="zh-Hans" id="com.izouma.lingxiancar" ios-CFBundleIdentifier="com.izouma.lingxian" version="1.0.8" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
  3. <name>酷C用车</name>
  4. <description> A sample Apache Cordova application that responds to the deviceready event. </description>
  5. <author email="dev@cordova.apache.org" href="http://cordova.io"> Apache Cordova Team </author>
  6. <content src="car.html" />
  7. <access origin="*" />
  8. <allow-intent href="http://*/*" />
  9. <allow-intent href="https://*/*" />
  10. <allow-intent href="tel:*" />
  11. <allow-intent href="sms:*" />
  12. <allow-intent href="mailto:*" />
  13. <allow-intent href="geo:*" />
  14. <platform name="android">
  15. <allow-intent href="market:*" />
  16. <icon density="ldpi" src="res/icon/android/drawable-ldpi/ic_launcher.png" />
  17. <icon density="mdpi" src="res/icon/android/drawable-mdpi/ic_launcher.png" />
  18. <icon density="hdpi" src="res/icon/android/drawable-hdpi/ic_launcher.png" />
  19. <icon density="xhdpi" src="res/icon/android/drawable-xhdpi/ic_launcher.png" />
  20. <icon density="xxhdpi" src="res/icon/android/drawable-xxhdpi/ic_launcher.png" />
  21. <icon density="xxxhdpi" src="res/icon/android/drawable-xxxhdpi/ic_launcher.png" />
  22. <splash density="xxxhdpi" src="res/screen/1242×2208.png" />
  23. </platform>
  24. <platform name="ios">
  25. <allow-intent href="itms:*" />
  26. <allow-intent href="itms-apps:*" />
  27. <config-file parent="CFBundleLocalizations" target="*-Info.plist">
  28. <array>
  29. <string>zh_CN</string>
  30. </array>
  31. </config-file>
  32. <config-file parent="NSCameraUsageDescription" target="*-Info.plist">
  33. <string>需要相机权限才能继续使用</string>
  34. </config-file>
  35. <config-file parent="NSPhotoLibraryUsageDescription" target="*-Info.plist">
  36. <string>需要相册权限才能继续使用</string>
  37. </config-file>
  38. <config-file parent="NSLocationWhenInUseUsageDescription" target="*-Info.plist">
  39. <string>您的当前位置将会在地图上显示,并且用于获取周边的车辆数据</string>
  40. </config-file>
  41. <icon height="40" src="res/icon/ios/Icon-Notification@2x.png" width="40" />
  42. <icon height="60" src="res/icon/ios/Icon-Notification@3x.png" width="60" />
  43. <icon height="29" src="res/icon/ios/Icon-Small.png" width="29" />
  44. <icon height="58" src="res/icon/ios/Icon-Small@2x.png" width="58" />
  45. <icon height="87" src="res/icon/ios/Icon-Small@3x.png" width="87" />
  46. <icon height="80" src="res/icon/ios/Icon-Small-40@2x.png" width="80" />
  47. <icon height="120" src="res/icon/ios/Icon-Small-40@3x.png" width="120" />
  48. <icon height="120" src="res/icon/ios/Icon-60@2x.png" width="120" />
  49. <icon height="180" src="res/icon/ios/Icon-60@3x.png" width="180" />
  50. <icon height="57" src="res/icon/ios/Icon.png" width="57" />
  51. <icon height="114" src="res/icon/ios/Icon@2x.png" width="114" />
  52. <icon height="167" src="res/icon/ios/iPad/Icon-83.5@2x.png" width="167" />
  53. <icon height="76" src="res/icon/ios/iPad/Icon-76.png" width="76" />
  54. <icon height="152" src="res/icon/ios/iPad/Icon-76@2x.png" width="152" />
  55. <icon height="1024" src="res/icon/ios/App Store Marketing/icon.png" width="1024" />
  56. <splash src="res/screen/Default@3x~universal~anyany.png" />
  57. </platform>
  58. <plugin name="cordova-plugin-whitelist" spec="1" />
  59. <plugin name="cordova-plugin-wechat" spec="~2.1.0">
  60. <variable name="WECHATAPPID" value="wxb72c361102cca2dc" />
  61. </plugin>
  62. <plugin name="cordova-plugin-alipay-v2" spec="~0.0.3">
  63. <variable name="APP_ID" value="2016091300498738" />
  64. </plugin>
  65. <plugin name="cordova-plugin-x-toast" spec="^2.6.0" />
  66. <plugin name="cordova-plugin-splashscreen" spec="^5.0.1" />
  67. <preference name="Orientation" value="portrait" />
  68. <preference name="ShowSplashScreenSpinner" value="false" />
  69. <preference name="SplashMaintainAspectRatio" value="true" />
  70. <plugin name="cordova-plugin-qqlocation" spec="../qqlocation">
  71. <variable name="API_KEY" value="PPQBZ-HCQLO-MMNWE-SHIDE-Y42BH-D3F76" />
  72. </plugin>
  73. <plugin name="cordova-plugin-wkwebview-engine" spec="^1.1.4" />
  74. <plugin name="cordova-plugin-navigationbar" spec="../navigationbar" />
  75. <preference name="CheckUpdateOnLoad" value="true" />
  76. <preference name="CheckUpdateUrl" value="http://www.lingxiancar.com/appVersion/getUpdateInfo" />
  77. <plugin name="cordova-plugin-app-update" spec="https://github.com/x1ongzhu/cordova-plugin-app-update.git" />
  78. <plugin name="cordova-plugin-app-version" spec="^0.1.9" />
  79. <engine name="ios" spec="^4.5.4" />
  80. <engine name="android" spec="^6.3.0" />
  81. </widget>