manifest.json 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. {
  2. "name" : "AiMill工业互联网平台",
  3. "appid" : "__UNI__45B3907",
  4. "description" : "",
  5. "versionName" : "V1.0.4.51",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. "h5" : {
  9. "devServer" : {
  10. "proxy" : {
  11. "/api" : {
  12. // "target" : "http://192.168.1.110:18086/",
  13. // "target" : "http://123.249.79.125/api/",
  14. // "target" : "http://114.116.248.196:86/api/",
  15. // "target": "http://116.63.185.248:80/api",
  16. // "target" : "http://192.168.1.251:18086/",sss
  17. // "target" : "http://192.168.1.251:18086/",
  18. "target" : "http://192.168.1.147:18086/",
  19. // "target" : "http://192.168.1.251:18086/",
  20. // "target" : "http://192.168.1.102:18086/",
  21. // "target" : "http://aiot.zoomwin.com.cn:51001/api",
  22. "changeOrigin" : true,
  23. "secure" : false,
  24. "pathRewrite" : {
  25. "^/api" : ""
  26. } //如需去掉前缀则加上此配置
  27. }
  28. },
  29. "https" : false
  30. },
  31. "domain" : "http://127.0.0.1:8601"
  32. },
  33. /* 5+App特有相关 */
  34. "app-plus" : {
  35. "usingComponents" : true,
  36. "nvueStyleCompiler" : "uni-app",
  37. "compilerVersion" : 3,
  38. "splashscreen" : {
  39. "alwaysShowBeforeRender" : false,
  40. "waiting" : true,
  41. "autoclose" : true,
  42. "delay" : 0
  43. },
  44. /* 模块配置 */
  45. "modules" : {
  46. "Camera" : {},
  47. "Barcode" : {},
  48. "Push" : {},
  49. "Geolocation" : {
  50. "system" : {
  51. "__platform__" : [ "ios", "android" ]
  52. }
  53. }
  54. },
  55. /* 应用发布信息 */
  56. "distribute" : {
  57. /* android打包配置 */
  58. "android" : {
  59. "permissions" : [
  60. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  61. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  62. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  63. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  64. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  65. "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
  66. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  67. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  68. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  69. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  70. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  71. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  72. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  73. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  74. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  75. "<uses-feature android:name=\"android.hardware.camera\"/>",
  76. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
  77. "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>"
  78. ],
  79. "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
  80. },
  81. /* ios打包配置 */
  82. "ios" : {
  83. "dSYMs" : false,
  84. "privacyDescription" : {
  85. "NSLocationWhenInUseUsageDescription" : "用于考勤打卡时获取您的当前位置",
  86. "NSCameraUsageDescription" : "用于拍照上传附件、扫码",
  87. "NSPhotoLibraryUsageDescription" : "用于从相册选择图片上传附件"
  88. }
  89. },
  90. /* SDK配置 */
  91. "sdkConfigs" : {
  92. "ad" : {},
  93. "push" : {
  94. "unipush" : {}
  95. },
  96. "geolocation" : {
  97. "system" : {
  98. "__platform__" : [ "ios", "android" ]
  99. }
  100. }
  101. },
  102. "icons" : {
  103. "android" : {
  104. "hdpi" : "unpackage/res/icons/72x72.png",
  105. "xhdpi" : "unpackage/res/icons/96x96.png",
  106. "xxhdpi" : "unpackage/res/icons/144x144.png",
  107. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  108. },
  109. "ios" : {
  110. "appstore" : "unpackage/res/icons/1024x1024.png",
  111. "ipad" : {
  112. "app" : "unpackage/res/icons/76x76.png",
  113. "app@2x" : "unpackage/res/icons/152x152.png",
  114. "notification" : "unpackage/res/icons/20x20.png",
  115. "notification@2x" : "unpackage/res/icons/40x40.png",
  116. "proapp@2x" : "unpackage/res/icons/167x167.png",
  117. "settings" : "unpackage/res/icons/29x29.png",
  118. "settings@2x" : "unpackage/res/icons/58x58.png",
  119. "spotlight" : "unpackage/res/icons/40x40.png",
  120. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  121. },
  122. "iphone" : {
  123. "app@2x" : "unpackage/res/icons/120x120.png",
  124. "app@3x" : "unpackage/res/icons/180x180.png",
  125. "notification@2x" : "unpackage/res/icons/40x40.png",
  126. "notification@3x" : "unpackage/res/icons/60x60.png",
  127. "settings@2x" : "unpackage/res/icons/58x58.png",
  128. "settings@3x" : "unpackage/res/icons/87x87.png",
  129. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  130. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  131. }
  132. }
  133. }
  134. }
  135. },
  136. /* 快应用特有相关 */
  137. "quickapp" : {},
  138. // /* 小程序特有相关 */
  139. "mp-weixin" : {
  140. "appid" : "",
  141. "setting" : {
  142. "urlCheck" : false
  143. },
  144. "usingComponents" : true
  145. },
  146. "mp-alipay" : {
  147. "usingComponents" : true
  148. },
  149. "mp-baidu" : {
  150. "usingComponents" : true
  151. },
  152. "mp-toutiao" : {
  153. "usingComponents" : true
  154. },
  155. "uniStatistics" : {
  156. "enable" : false
  157. },
  158. "vueVersion" : "2",
  159. "fallbackLocale" : "zh-Hans",
  160. "sassImplementationName" : "node-sass",
  161. "app-harmony" : {
  162. "distribute" : {
  163. "modules" : {
  164. "uni-push" : {}
  165. }
  166. }
  167. }
  168. }