manifest.json 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. {
  2. "name" : "巨蜂",
  3. "appid" : "__UNI__6537B5D",
  4. "description" : "",
  5. "versionName" : "4.0.0",
  6. "versionCode" : 4000,
  7. "transformPx" : false,
  8. "app-plus" : {
  9. "kernel" : {
  10. "ios" : "WKWebview"
  11. },
  12. "optimization" : {
  13. "subPackages" : true // 小程序 开启分包优化
  14. },
  15. "runmode" : "liberate", // 开启分包优化后,必须配置资源释放模式
  16. "usingComponents" : true,
  17. "compilerVersion" : 3,
  18. /* 5+App特有相关 */
  19. "modules" : {
  20. "Webview-x5" : {},
  21. "VideoPlayer" : {},
  22. "Payment" : {},
  23. "Share" : {},
  24. "Geolocation" : {},
  25. "Maps" : {}
  26. },
  27. "compatible" : {
  28. "ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
  29. },
  30. /* 模块配置 */
  31. "distribute" : {
  32. /* 应用发布信息 */
  33. "android" : {
  34. /* android打包配置 */
  35. "permissions" : [
  36. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  37. "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
  38. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  39. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  40. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  41. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  42. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  43. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  44. "<uses-permission android:name=\"android.permission.INTERNET\"/>",
  45. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  46. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  47. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  48. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  49. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  50. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  51. "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
  52. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  53. ]
  54. },
  55. "ios" : {
  56. "idfa" : false,
  57. "dSYMs" : false
  58. },
  59. /* ios打包配置 */
  60. "sdkConfigs" : {
  61. "ad" : {},
  62. "payment" : {
  63. "weixin" : {
  64. "__platform__" : [ "ios", "android" ],
  65. "appid" : "wx603b04a561e4683e",
  66. "UniversalLinks" : ""
  67. }
  68. },
  69. "maps" : {
  70. "amap" : {
  71. "appkey_ios" : "790b1546d12c20cc6c95f45c4d8b376c",
  72. "appkey_android" : "790b1546d12c20cc6c95f45c4d8b376c"
  73. }
  74. },
  75. "speech" : {
  76. "ifly" : {}
  77. },
  78. "geolocation" : {
  79. "system" : {
  80. "__platform__" : [ "ios", "android" ]
  81. },
  82. "amap" : {
  83. "__platform__" : [ "ios", "android" ],
  84. "appkey_ios" : "790b1546d12c20cc6c95f45c4d8b376c",
  85. "appkey_android" : "790b1546d12c20cc6c95f45c4d8b376c"
  86. }
  87. },
  88. "share" : {
  89. "weixin" : {
  90. "appid" : "wx603b04a561e4683e",
  91. "UniversalLinks" : ""
  92. }
  93. },
  94. "push" : {}
  95. },
  96. "splashscreen" : {
  97. "androidStyle" : "common",
  98. "iosStyle" : "common"
  99. },
  100. "icons" : {
  101. "android" : {
  102. "hdpi" : "unpackage/res/icons/72x72.png",
  103. "xhdpi" : "unpackage/res/icons/96x96.png",
  104. "xxhdpi" : "unpackage/res/icons/144x144.png",
  105. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  106. },
  107. "ios" : {
  108. "appstore" : "unpackage/res/icons/1024x1024.png",
  109. "ipad" : {
  110. "app" : "unpackage/res/icons/76x76.png",
  111. "app@2x" : "unpackage/res/icons/152x152.png",
  112. "notification" : "unpackage/res/icons/20x20.png",
  113. "notification@2x" : "unpackage/res/icons/40x40.png",
  114. "proapp@2x" : "unpackage/res/icons/167x167.png",
  115. "settings" : "unpackage/res/icons/29x29.png",
  116. "settings@2x" : "unpackage/res/icons/58x58.png",
  117. "spotlight" : "unpackage/res/icons/40x40.png",
  118. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  119. },
  120. "iphone" : {
  121. "app@2x" : "unpackage/res/icons/120x120.png",
  122. "app@3x" : "unpackage/res/icons/180x180.png",
  123. "notification@2x" : "unpackage/res/icons/40x40.png",
  124. "notification@3x" : "unpackage/res/icons/60x60.png",
  125. "settings@2x" : "unpackage/res/icons/58x58.png",
  126. "settings@3x" : "unpackage/res/icons/87x87.png",
  127. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  128. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  129. }
  130. }
  131. }
  132. }
  133. },
  134. /* SDK配置 */
  135. "quickapp" : {},
  136. /* 快应用特有相关 */
  137. "mp-weixin" : {
  138. "appid" : "wxf804c468af0e962b",
  139. "requiredPrivateInfos" : [ "chooseLocation", "getLocation", "chooseAddress" ],
  140. "setting" : {
  141. "urlCheck" : false,
  142. "es6" : false,
  143. "postcss" : true,
  144. "minified" : true
  145. },
  146. // "usingComponents" : true,
  147. "component" : true,
  148. "permission" : {
  149. "scope.userLocation" : {
  150. "desc" : "你的位置信息将用于小程序位置接口的效果展示"
  151. }
  152. },
  153. "plugins" : {
  154. // 直播
  155. "live-player-plugin" : {
  156. // "version": "1.3.2", // 注意该直播组件最新版本号,微信开发者工具调试时可获取最新版本号
  157. "version" : "latest",
  158. "provider" : "wx123456789abcdefg"
  159. },
  160. // 卡券
  161. "sendCoupon" : {
  162. "version" : "latest",
  163. "provider" : "wx987654321abcdefg"
  164. }
  165. }
  166. },
  167. "mp-alipay" : {
  168. "appid" : "12345678910123456"
  169. },
  170. "h5" : {
  171. "title" : "巨蜂商城",
  172. "domain" : "",
  173. "devServer" : {
  174. "disableHostCheck" : true,
  175. "port" : 8090, //端口号
  176. "https" : false
  177. },
  178. "router" : {
  179. "mode" : "hash",
  180. "base" : "/"
  181. },
  182. "optimization" : {
  183. "treeShaking" : {
  184. "enable" : false
  185. }
  186. },
  187. "sdkConfigs" : {
  188. "maps" : {
  189. "qqmap" : {
  190. "key" : "JMABZ-72LWU-R2UV5-GOYJ7-6QFZV-57BZW"
  191. }
  192. }
  193. }
  194. },
  195. "fallbackLocale" : "zh-Hans",
  196. "mp-baidu" : {
  197. "uniStatistics" : {
  198. "enable" : false
  199. }
  200. },
  201. "mp-lark" : {
  202. "uniStatistics" : {
  203. "enable" : true
  204. }
  205. }
  206. }