config.xml 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <widget android-targetSdkVersion="22" android-versionCode="37" id="com.izouma.milk" ios-CFBundleIdentifier="com.brightdairy.milk" ios-CFBundleVersion="1.3.7" version="1.3.7" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
  3. <name>奶源追溯</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="milk.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. <allow-intent href="itms-apps:*" />
  15. <allow-intent href="market:*" />
  16. <allow-navigation href="*" />
  17. <platform name="android">
  18. <allow-intent href="market:*" />
  19. <icon density="hdpi" src="res/icon/android/drawable-hdpi/ic_launcher.png" />
  20. <icon density="xhdpi" src="res/icon/android/drawable-xhdpi/ic_launcher.png" />
  21. <icon density="xxhdpi" src="res/icon/android/drawable-xxhdpi/ic_launcher.png" />
  22. <icon density="xxxhdpi" src="res/icon/android/drawable-xxxhdpi/ic_launcher.png" />
  23. <splash density="xxhdpi" src="res/splash.png" />
  24. </platform>
  25. <platform name="ios">
  26. <allow-intent href="itms:*" />
  27. <allow-intent href="itms-apps:*" />
  28. <config-file parent="CFBundleLocalizations" target="*-Info.plist">
  29. <array>
  30. <string>zh_CN</string>
  31. </array>
  32. </config-file>
  33. <icon height="40" src="res/icon/ios/Icon-Notification@2x.png" width="40" />
  34. <icon height="60" src="res/icon/ios/Icon-Notification@3x.png" width="60" />
  35. <icon height="29" src="res/icon/ios/Icon-Small.png" width="29" />
  36. <icon height="58" src="res/icon/ios/Icon-Small@2x.png" width="58" />
  37. <icon height="87" src="res/icon/ios/Icon-Small@3x.png" width="87" />
  38. <icon height="80" src="res/icon/ios/Icon-Small-40@2x.png" width="80" />
  39. <icon height="120" src="res/icon/ios/Icon-Small-40@3x.png" width="120" />
  40. <icon height="120" src="res/icon/ios/Icon-60@2x.png" width="120" />
  41. <icon height="180" src="res/icon/ios/Icon-60@3x.png" width="180" />
  42. <icon height="57" src="res/icon/ios/Icon.png" width="57" />
  43. <icon height="114" src="res/icon/ios/Icon@2x.png" width="114" />
  44. <icon height="167" src="res/icon/ios/iPad/Icon-83.5@2x.png" width="167" />
  45. <icon height="76" src="res/icon/ios/iPad/Icon-76.png" width="76" />
  46. <icon height="152" src="res/icon/ios/iPad/Icon-76@2x.png" width="152" />
  47. <icon height="1024" src="res/icon/ios/App Store Marketing/icon.png" width="1024" />
  48. <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
  49. </platform>
  50. <preference name="SuppressesIncrementalRendering" value="true" />
  51. <preference name="Orientation" value="portrait" />
  52. <preference name="forceUpdate" value="true" />
  53. <preference name="ShowSplashScreenSpinner" value="false" />
  54. <preference name="SplashMaintainAspectRatio" value="true" />
  55. <plugin name="cordova-plugin-whitelist" spec="1" />
  56. <plugin name="cordova-plugin-splashscreen" spec="~5.0.1" />
  57. <plugin name="cordova-plugin-x-toast" spec="~2.6.0" />
  58. <plugin name="cordova-plugin-wkwebview-engine" spec="~1.1.4" />
  59. <plugin name="cordova-plugin-camera" spec="~4.0.2" />
  60. <plugin name="cordova-plugin-remote-injection" spec="^0.5.2" />
  61. <plugin name="cordova-plugin-device" spec="^2.0.2" />
  62. <plugin name="cordova-plugin-app-version" spec="^0.1.9" />
  63. <plugin name="cordova-plugin-navigationbar" spec="https://github.com/x1ongzhu/cordova-plugin-navigationbar.git" />
  64. <plugin name="cordova-plugin-tencent-bg-location" spec="../cordova-plugin-tencent-bg-location">
  65. <variable name="API_KEY" value="PPQBZ-HCQLO-MMNWE-SHIDE-Y42BH-D3F76" />
  66. </plugin>
  67. <plugin name="cordova-plugin-handheld" spec="https://github.com/x1ongzhu/cordova-plugin-handheld.git">
  68. <variable name="APP_ID" value="d0f09be14a67a2082bdf777eb0b2a8c2" />
  69. </plugin>
  70. <engine name="android" spec="^7.1.4" />
  71. </widget>