manifest.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. {
  2. "name" : "Rider",
  3. "appid" : "__UNI__EF18237",
  4. "description" : "",
  5. "versionName" : "2.0.0",
  6. "versionCode" : 116,
  7. "transformPx" : false,
  8. /* 5+App特有相关 */
  9. "app-plus" : {
  10. "safearea" : {
  11. "bottom" : {
  12. "offset" : "none"
  13. }
  14. },
  15. "usingComponents" : true,
  16. "nvueCompiler" : "uni-app",
  17. "compilerVersion" : 3,
  18. "splashscreen" : {
  19. "alwaysShowBeforeRender" : true,
  20. "waiting" : true,
  21. "autoclose" : true,
  22. "delay" : 0
  23. },
  24. /* 模块配置 */
  25. "modules" : {},
  26. /* 应用发布信息 */
  27. "distribute" : {
  28. /* android打包配置 */
  29. "android" : {
  30. "permissions" : [
  31. "<uses-feature android:name=\"android.hardware.camera\"/>",
  32. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  33. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  34. "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
  35. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  36. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  37. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  38. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  39. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  40. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  41. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  42. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  43. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  44. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  45. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  46. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  47. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  48. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  49. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  50. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
  51. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  52. ]
  53. },
  54. /* ios打包配置 */
  55. "ios" : {},
  56. /* SDK配置 */
  57. "sdkConfigs" : {
  58. "ad" : {}
  59. }
  60. },
  61. "uniStatistics" : {
  62. "enable" : false
  63. }
  64. },
  65. /* 快应用特有相关 */
  66. "quickapp" : {},
  67. /* 小程序特有相关 */
  68. "mp-weixin" : {
  69. "appid" : "wxa79f37f7f9375f47",
  70. "setting" : {
  71. "urlCheck" : false,
  72. "minified" : true,
  73. "postcss" : true,
  74. "es6" : true
  75. },
  76. "usingComponents" : true,
  77. "uniStatistics" : {
  78. "enable" : false
  79. }
  80. },
  81. "mp-alipay" : {
  82. "usingComponents" : true,
  83. "uniStatistics" : {
  84. "enable" : false
  85. }
  86. },
  87. "mp-baidu" : {
  88. "usingComponents" : true,
  89. "uniStatistics" : {
  90. "enable" : false
  91. }
  92. },
  93. "mp-toutiao" : {
  94. "usingComponents" : true,
  95. "setting" : {
  96. "es6" : true,
  97. "minified" : true,
  98. "postcss" : true,
  99. "urlCheck" : false
  100. },
  101. "uniStatistics" : {
  102. "enable" : false
  103. }
  104. },
  105. "h5" : {
  106. "template" : "template.h5.html",
  107. "router" : {
  108. "mode" : "hash"
  109. },
  110. "optimization" : {
  111. "treeShaking" : {
  112. "enable" : true
  113. }
  114. },
  115. "devServer" : {
  116. "port" : 1888,
  117. "proxy" : {
  118. "/api" : {
  119. "target" : "http://192.168.0.13:3456",
  120. // "target" : "http://192.168.0.12:1234",
  121. // "target" : "http://127.0.0.1",
  122. //"target" : "https://rider.bladex.vip/api",
  123. "changeOrigin" : true,
  124. "ws" : true,
  125. "pathRewrite" : {
  126. "^/api" : "/"
  127. }
  128. }
  129. }
  130. },
  131. "uniStatistics" : {
  132. "enable" : false
  133. },
  134. "sdkConfigs" : {
  135. "maps" : {
  136. "qqmap" : {
  137. "key" : ""
  138. }
  139. }
  140. }
  141. },
  142. "uniStatistics" : {
  143. "enable" : false
  144. },
  145. "mp-qq" : {
  146. "uniStatistics" : {
  147. "enable" : false
  148. }
  149. }
  150. }