config.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <widget id="yags.raex.vip" version="1.0.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" ios-CFBundleIdentifier="new.raex.meta" ios-CFBundleVersion="177" android-versionCode="1235">
  3. <name>绿洲电竞链</name>
  4. <description>
  5. A sample Apache Cordova application that responds to the deviceready event.
  6. </description>
  7. <author email="dev@cordova.apache.org" href="http://cordova.io">
  8. Apache Cordova Team
  9. </author>
  10. <content src="https://yags.raex.vip/h5/home"/>
  11. <access origin="*"/>
  12. <allow-intent href="http://*/*"/>
  13. <allow-intent href="https://*/*"/>
  14. <allow-intent href="tel:*"/>
  15. <allow-intent href="sms:*"/>
  16. <allow-intent href="mailto:*"/>
  17. <allow-intent href="geo:*"/>
  18. <allow-navigation href="http://test.yags.raex.vip/*"/>
  19. <allow-navigation href="https://yags.raex.vip/*"/>
  20. <allow-navigation href="https://ios.raex.vip/*"/>
  21. <allow-navigation href="http://192.168.6.116:8082/*"/>
  22. <allow-navigation href="http://192.168.6.116:8081/*"/>
  23. <allow-navigation href="http://192.168.6.116:8080/*"/>
  24. <allow-navigation href="http://192.168.6.215:8082/*"/>
  25. <allow-navigation href="http://192.168.50.144:8082/*"/>
  26. <preference name="AppendUserAgent" value="#cordova#"/>
  27. <preference name="BackgroundColor" value="#000000"/>
  28. <preference name="DisallowOverscroll" value="true"/>
  29. <preference name="Orientation" value="portrait"/>
  30. <preference name="AutoHideSplashScreen" value="false"/>
  31. <preference name="SplashScreenDelay" value="0"/>
  32. <preference name="ShowSplashScreenSpinner" value="false"/>
  33. <preference name="AndroidXEnabled" value="true"/>
  34. <preference name="WECHATAPPID" value="wx6816dbdc07254dcb"/>
  35. <preference name="UNIVERSALLINK" value="https://www.raex.vip/9th/"/>
  36. <splash src="res/splash/ios/Default@2x~universal~anyany.png"/>
  37. <hook src="scripts/deleteDSStore.js" type="before_prepare"/>
  38. <hook src="scripts/changeVersion.js" type="before_prepare"/>
  39. <hook src="scripts/incrementBuildNum.js" type="after_prepare"/>
  40. <platform name="android">
  41. <hook type="after_plugin_install" src="scripts/android/fixQRScanner.js"/>
  42. <hook type="after_plugin_install" src="scripts/android/fixNotch.js"/>
  43. <hook type="after_prepare" src="scripts/android/leftShift2doLast.js"/>
  44. <hook type="after_prepare" src="scripts/android/imageSaver.js"/>
  45. <allow-intent href="market:*"/>
  46. <allow-intent href="alipays:*"/>
  47. <allow-intent href="weixin:*"/>
  48. <preference name="StatusBarOverlaysWebView" value="false"/>
  49. <preference name="StatusBarStyle" value="lightcontent"/>
  50. <preference name="SplashMaintainAspectRatio" value="true"/>
  51. <preference name="AndroidLaunchMode" value="singleInstance"/>
  52. <icon src="res/icon/android/icon.png"/>
  53. <icon src="res/icon/android/mipmap-ldpi/ic_launcher.png" density="ldpi"/>
  54. <icon src="res/icon/android/mipmap-mdpi/ic_launcher.png" density="mdpi"/>
  55. <icon src="res/icon/android/mipmap-hdpi/ic_launcher.png" density="hdpi"/>
  56. <icon src="res/icon/android/mipmap-xhdpi/ic_launcher.png" density="xhdpi"/>
  57. <icon src="res/icon/android/mipmap-xxhdpi/ic_launcher.png" density="xxhdpi"/>
  58. <icon src="res/icon/android/mipmap-xxxhdpi/ic_launcher.png" density="xxxhdpi"/>
  59. </platform>
  60. <platform name="ios">
  61. <hook type="after_prepare" src="scripts/ios/fixFileTransfer.js"/>
  62. <hook type="after_plugin_install" src="scripts/ios/fixCodePush.js"/>
  63. <hook type="after_plugin_install" src="scripts/ios/fixQRScanner.js"/>
  64. <icon height="20" src="res/icon/ios/icon-20.png" width="20"/>
  65. <icon height="29" src="res/icon/ios/icon-29.png" width="29"/>
  66. <icon height="40" src="res/icon/ios/icon-40.png" width="40"/>
  67. <icon height="50" src="res/icon/ios/icon-50.png" width="50"/>
  68. <icon height="57" src="res/icon/ios/icon-57.png" width="57"/>
  69. <icon height="58" src="res/icon/ios/icon-58.png" width="58"/>
  70. <icon height="60" src="res/icon/ios/icon-60.png" width="60"/>
  71. <icon height="72" src="res/icon/ios/icon-72.png" width="72"/>
  72. <icon height="76" src="res/icon/ios/icon-76.png" width="76"/>
  73. <icon height="80" src="res/icon/ios/icon-80.png" width="80"/>
  74. <icon height="87" src="res/icon/ios/icon-87.png" width="87"/>
  75. <icon height="100" src="res/icon/ios/icon-100.png" width="100"/>
  76. <icon height="114" src="res/icon/ios/icon-114.png" width="114"/>
  77. <icon height="120" src="res/icon/ios/icon-120.png" width="120"/>
  78. <icon height="144" src="res/icon/ios/icon-144.png" width="144"/>
  79. <icon height="152" src="res/icon/ios/icon-152.png" width="152"/>
  80. <icon height="167" src="res/icon/ios/icon-167.png" width="167"/>
  81. <icon height="180" src="res/icon/ios/icon-180.png" width="180"/>
  82. <icon height="1024" src="res/icon/ios/icon-1024.png" width="1024"/>
  83. <allow-intent href="itms:*"/>
  84. <allow-intent href="itms-apps:*"/>
  85. <allow-intent href="alipays:*"/>
  86. <allow-intent href="weixin:*"/>
  87. <preference name="WKWebViewOnly" value="true"/>
  88. <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine"/>
  89. <preference name="StatusBarOverlaysWebView" value="true"/>
  90. <feature name="CDVWKWebViewEngine">
  91. <param name="ios-package" value="CDVWKWebViewEngine"/>
  92. </feature>
  93. <config-file parent="CFBundleLocalizations" target="*-Info.plist">
  94. <array>
  95. <string>zh_CN</string>
  96. </array>
  97. </config-file>
  98. <config-file parent="NSCameraUsageDescription" target="*-Info.plist">
  99. <string>需要相机权限才能继续使用</string>
  100. </config-file>
  101. <config-file parent="NSPhotoLibraryUsageDescription" target="*-Info.plist">
  102. <string>需要相册权限用于保存分享图片</string>
  103. </config-file>
  104. <config-file parent="NSLocationWhenInUseUsageDescription" target="*-Info.plist">
  105. <string>您的当前位置将会在地图上显示,并且用于获取周边的园区数据</string>
  106. </config-file>
  107. <config-file parent="ITSAppUsesNonExemptEncryption" target="*-Info.plist">
  108. <false/>
  109. </config-file>
  110. <config-file parent="UIStatusBarHidden" target="*-Info.plist" mode="merge">
  111. <true/>
  112. </config-file>
  113. <config-file parent="UIViewControllerBasedStatusBarAppearance" target="*-Info.plist" mode="merge">
  114. <true/>
  115. </config-file>
  116. </platform>
  117. </widget>