manifest.json 6.8 KB

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