manifest.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. {
  2. "name" : "智慧工厂",
  3. "appid" : "__UNI__45B3907",
  4. "description" : "",
  5. "versionName" : "V1.0.4.19",
  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://192.168.1.125:18086/",
  15. // "target" : "http://114.116.248.196:86/api/",
  16. // "target": "http://116.63.185.248:80/api",
  17. "target" : "http://192.168.1.251:18086/",
  18. // "target" : "http://aiot.zoomwin.com.cn:51001/api",
  19. "changeOrigin" : true,
  20. "secure" : false,
  21. "pathRewrite" : {
  22. "^/api" : ""
  23. } //如需去掉前缀则加上此配置
  24. }
  25. },
  26. "https" : false
  27. },
  28. "domain" : "http://127.0.0.1:8601"
  29. },
  30. /* 5+App特有相关 */
  31. "app-plus" : {
  32. "usingComponents" : true,
  33. "nvueStyleCompiler" : "uni-app",
  34. "compilerVersion" : 3,
  35. "splashscreen" : {
  36. "alwaysShowBeforeRender" : false,
  37. "waiting" : true,
  38. "autoclose" : true,
  39. "delay" : 0
  40. },
  41. /* 模块配置 */
  42. "modules" : {
  43. "Camera" : {},
  44. "Barcode" : {},
  45. "Push" : {}
  46. },
  47. /* 应用发布信息 */
  48. "distribute" : {
  49. /* android打包配置 */
  50. "android" : {
  51. "permissions" : [
  52. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  53. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  54. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  55. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  56. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  57. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  58. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  59. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  60. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  61. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  62. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  63. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  64. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  65. "<uses-feature android:name=\"android.hardware.camera\"/>",
  66. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
  67. "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>"
  68. ],
  69. "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
  70. },
  71. /* ios打包配置 */
  72. "ios" : {
  73. "dSYMs" : false
  74. },
  75. /* SDK配置 */
  76. "sdkConfigs" : {
  77. "ad" : {},
  78. "push" : {
  79. "unipush" : {}
  80. }
  81. },
  82. "icons" : {
  83. "android" : {
  84. "hdpi" : "unpackage/res/icons/72x72.png",
  85. "xhdpi" : "unpackage/res/icons/96x96.png",
  86. "xxhdpi" : "unpackage/res/icons/144x144.png",
  87. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  88. },
  89. "ios" : {
  90. "appstore" : "unpackage/res/icons/1024x1024.png",
  91. "ipad" : {
  92. "app" : "unpackage/res/icons/76x76.png",
  93. "app@2x" : "unpackage/res/icons/152x152.png",
  94. "notification" : "unpackage/res/icons/20x20.png",
  95. "notification@2x" : "unpackage/res/icons/40x40.png",
  96. "proapp@2x" : "unpackage/res/icons/167x167.png",
  97. "settings" : "unpackage/res/icons/29x29.png",
  98. "settings@2x" : "unpackage/res/icons/58x58.png",
  99. "spotlight" : "unpackage/res/icons/40x40.png",
  100. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  101. },
  102. "iphone" : {
  103. "app@2x" : "unpackage/res/icons/120x120.png",
  104. "app@3x" : "unpackage/res/icons/180x180.png",
  105. "notification@2x" : "unpackage/res/icons/40x40.png",
  106. "notification@3x" : "unpackage/res/icons/60x60.png",
  107. "settings@2x" : "unpackage/res/icons/58x58.png",
  108. "settings@3x" : "unpackage/res/icons/87x87.png",
  109. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  110. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  111. }
  112. }
  113. }
  114. }
  115. },
  116. /* 快应用特有相关 */
  117. "quickapp" : {},
  118. // /* 小程序特有相关 */
  119. "mp-weixin" : {
  120. "appid" : "",
  121. "setting" : {
  122. "urlCheck" : false
  123. },
  124. "usingComponents" : true
  125. },
  126. "mp-alipay" : {
  127. "usingComponents" : true
  128. },
  129. "mp-baidu" : {
  130. "usingComponents" : true
  131. },
  132. "mp-toutiao" : {
  133. "usingComponents" : true
  134. },
  135. "uniStatistics" : {
  136. "enable" : false
  137. },
  138. "vueVersion" : "2",
  139. "fallbackLocale" : "zh-Hans",
  140. "sassImplementationName" : "node-sass",
  141. "app-harmony" : {
  142. "distribute" : {
  143. "modules" : {
  144. "uni-push" : {}
  145. }
  146. }
  147. }
  148. }