config.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <widget id="com.izouma.leitongxue" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" 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="leitongxue.html#/home/recommend" />
  7. <plugin name="cordova-plugin-whitelist" spec="1" />
  8. <access origin="*" />
  9. <allow-intent href="http://*/*" />
  10. <allow-intent href="https://*/*" />
  11. <allow-intent href="tel:*" />
  12. <allow-intent href="sms:*" />
  13. <allow-intent href="mailto:*" />
  14. <allow-intent href="geo:*" />
  15. <platform name="android">
  16. <allow-intent href="market:*" />
  17. <access origin="*" />
  18. <allow-navigation href="*" />
  19. <allow-navigation href="http://*/*" />
  20. <allow-navigation href="https://*/*" />
  21. <allow-navigation href="tel:*" />
  22. <allow-navigation href="sms:*" />
  23. <allow-navigation href="mailto:*" />
  24. <allow-navigation href="geo:*" />
  25. <config-file parent="/*" target="AndroidManifest.xml">
  26. <uses-permission android:name="android.permission.INTERNET" />
  27. </config-file>
  28. <icon density="ldpi" src="res/icon/android/mipmap-ldpi/ic_launcher.png" />
  29. <icon density="mdpi" src="res/icon/android/mipmap-mdpi/ic_launcher.png" />
  30. <icon density="hdpi" src="res/icon/android/mipmap-hdpi/ic_launcher.png" />
  31. <icon density="xhdpi" src="res/icon/android/mipmap-xhdpi/ic_launcher.png" />
  32. <icon density="xxhdpi" src="res/icon/android/mipmap-xxhdpi/ic_launcher.png" />
  33. <icon density="xxxhdpi" src="res/icon/android/mipmap-xxxhdpi/ic_launcher.png" />
  34. <splash density="ldpi" src="res/screen/android/splash.png" />
  35. <splash density="mdpi" src="res/screen/android/splash.png" />
  36. <splash density="hdpi" src="res/screen/android/splash.png" />
  37. <splash density="xhdpi" src="res/screen/android/splash.png" />
  38. <splash density="xxhdpi" src="res/screen/android/splash.png" />
  39. <splash density="xxxhdpi" src="res/screen/android/splash.png" />
  40. <preference name="StatusBarOverlaysWebView" value="true" />
  41. </platform>
  42. <platform name="ios">
  43. <config-file parent="CFBundleLocalizations" target="*-Info.plist">
  44. <array>
  45. <string>zh_CN</string>
  46. </array>
  47. </config-file>
  48. <config-file parent="NSCameraUsageDescription" target="*-Info.plist">
  49. <string>需要相机权限才能继续使用</string>
  50. </config-file>
  51. <config-file parent="NSPhotoLibraryUsageDescription" target="*-Info.plist">
  52. <string>需要相册权限才能继续使用</string>
  53. </config-file>
  54. <allow-intent href="itms:*" />
  55. <allow-intent href="itms-apps:*" />
  56. <access origin="*" />
  57. <allow-navigation href="*" />
  58. <allow-navigation href="http://*/*" />
  59. <allow-navigation href="https://*/*" />
  60. <allow-navigation href="tel:*" />
  61. <allow-navigation href="sms:*" />
  62. <allow-navigation href="mailto:*" />
  63. <allow-navigation href="geo:*" />
  64. <preference name="StatusBarOverlaysWebView" value="false" />
  65. <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
  66. <icon height="20" src="res/icon/ios/Icon-20.png" width="20" />
  67. <icon height="29" src="res/icon/ios/Icon-29.png" width="29" />
  68. <icon height="40" src="res/icon/ios/Icon-40.png" width="40" />
  69. <icon height="50" src="res/icon/ios/Icon-50.png" width="50" />
  70. <icon height="57" src="res/icon/ios/Icon-57.png" width="57" />
  71. <icon height="58" src="res/icon/ios/Icon-29@2x.png" width="58" />
  72. <icon height="60" src="res/icon/ios/Icon-60.png" width="60" />
  73. <icon height="72" src="res/icon/ios/Icon-72.png" width="72" />
  74. <icon height="76" src="res/icon/ios/Icon-76.png" width="76" />
  75. <icon height="80" src="res/icon/ios/Icon-40@2x.png" width="80" />
  76. <icon height="87" src="res/icon/ios/Icon-29@3x.png" width="87" />
  77. <icon height="100" src="res/icon/ios/Icon-50@2x.png" width="100" />
  78. <icon height="114" src="res/icon/ios/Icon-57@2x.png" width="114" />
  79. <icon height="120" src="res/icon/ios/Icon-60@2x.png" width="120" />
  80. <icon height="144" src="res/icon/ios/Icon-72@2x.png" width="144" />
  81. <icon height="152" src="res/icon/ios/Icon-76@2x.png" width="152" />
  82. <icon height="167" src="res/icon/ios/Icon-83.5@2x.png" width="167" />
  83. <icon height="180" src="res/icon/ios/Icon-60@3x.png" width="180" />
  84. <icon height="1024" src="res/icon/ios/Icon-1024.png" width="1024" />
  85. </platform>
  86. <plugin name="cordova-plugin-inappbrowser" spec="^3.0.0" />
  87. <plugin name="cordova-plugin-camera" spec="^4.0.3" />
  88. <plugin name="cordova-plugin-device" spec="^2.0.2" />
  89. <plugin name="cordova-plugin-x-toast" spec="^2.6.2" />
  90. <plugin name="cordova-plugin-clipboard-x" spec="^1.0.1" />
  91. <preference name="BackgroundColor" value="0xFFFFFFFF" />
  92. <preference name="SuppressesIncrementalRendering" value="true" />
  93. <preference name="target-device" value="handset" />
  94. <preference name="Orientation" value="portrait" />
  95. <preference name="ShowSplashScreenSpinner" value="false" />
  96. <preference name="SplashMaintainAspectRatio" value="true" />
  97. <plugin name="cordova-plugin-wkwebview-engine" spec="^1.1.4" />
  98. <plugin name="cordova-plugin-statusbar" spec="^2.4.2" />
  99. <plugin name="cordova-plugin-wechatv2" spec="^2.1.2">
  100. <variable name="WECHATAPPID" value="wx4f228b18e366330c" />
  101. </plugin>
  102. <plugin name="cordova-plugin-remote-injection" spec="^0.5.2" />
  103. <plugin name="cordova-plugin-splashscreen" spec="^5.0.2" />
  104. <plugin name="cordova-plugin-crosswalk-webview" spec="https://github.com/fribace/cordova-plugin-crosswalk-webview.git">
  105. <variable name="XWALK_VERSION" value="23+" />
  106. <variable name="XWALK_LITEVERSION" value="xwalk_core_library_canary:17+" />
  107. <variable name="XWALK_COMMANDLINE" value="--disable-pull-to-refresh-effect" />
  108. <variable name="XWALK_MODE" value="embedded" />
  109. <variable name="XWALK_MULTIPLEAPK" value="false" />
  110. </plugin>
  111. <engine name="android" spec="^6.3.0" />
  112. <engine name="ios" spec="^4.5.4" />
  113. </widget>