manifest.json 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. {
  2. "name" : "工程大数据",
  3. "appid" : "__UNI__66FE93F",
  4. "description" : "工程大数据",
  5. "versionName" : "1.3.6",
  6. "versionCode" : 136,
  7. "transformPx" : false,
  8. "networkTimeout" : {
  9. "request" : 600000 //十分钟请求超时
  10. },
  11. "app-plus" : {
  12. "usingComponents" : true,
  13. "compilerVersion" : 3,
  14. "compatible" : {
  15. "ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
  16. },
  17. /* 5+App特有相关 */
  18. "modules" : {
  19. "VideoPlayer" : {},
  20. "Push" : {}
  21. },
  22. /* 模块配置 */
  23. "distribute" : {
  24. /* 应用发布信息 */
  25. "android" : {
  26. /* android打包配置 */
  27. "permissions" : [
  28. "<uses-feature android:name=\"android.hardware.camera\"/>",
  29. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  30. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  31. "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
  32. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  33. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  34. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  35. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  36. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  37. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  38. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  39. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  40. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  41. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  42. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  43. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  44. "<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\"/>",
  45. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  46. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  47. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
  48. "<uses-permission android:name=\"com.huawei.android.launcher.permission.CHANGE_BADGE\"/>"
  49. ],
  50. "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ]
  51. },
  52. "ios" : {
  53. "privacyDescription" : {
  54. "NSPhotoLibraryUsageDescription" : "\"工程大数据\"应用需要获取设备上的照片权限,请允许。",
  55. "NSPhotoLibraryAddUsageDescription" : "\"工程大数据\"应用需要获取设备上的照片权限,请允许。",
  56. "NSCameraUsageDescription" : "\"工程大数据\"应用需要获取设备上的摄像头权限,请允许。",
  57. "NSAppleMusicUsageDescription" : "\"工程大数据\"应用需要获取设备上的媒体资料库权限,请允许。"
  58. },
  59. "idfa" : false,
  60. "dSYMs" : false
  61. },
  62. /* ios打包配置 */
  63. "sdkConfigs" : {
  64. "ad" : {},
  65. "maps" : {},
  66. "push" : {
  67. "unipush" : {}
  68. }
  69. },
  70. "icons" : {
  71. "android" : {
  72. "hdpi" : "unpackage/res/icons/72x72.png",
  73. "xhdpi" : "unpackage/res/icons/96x96.png",
  74. "xxhdpi" : "unpackage/res/icons/144x144.png",
  75. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  76. },
  77. "ios" : {
  78. "appstore" : "unpackage/res/icons/1024x1024.png",
  79. "ipad" : {
  80. "app" : "unpackage/res/icons/76x76.png",
  81. "app@2x" : "unpackage/res/icons/152x152.png",
  82. "notification" : "unpackage/res/icons/20x20.png",
  83. "notification@2x" : "unpackage/res/icons/40x40.png",
  84. "proapp@2x" : "unpackage/res/icons/167x167.png",
  85. "settings" : "unpackage/res/icons/29x29.png",
  86. "settings@2x" : "unpackage/res/icons/58x58.png",
  87. "spotlight" : "unpackage/res/icons/40x40.png",
  88. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  89. },
  90. "iphone" : {
  91. "app@2x" : "unpackage/res/icons/120x120.png",
  92. "app@3x" : "unpackage/res/icons/180x180.png",
  93. "notification@2x" : "unpackage/res/icons/40x40.png",
  94. "notification@3x" : "unpackage/res/icons/60x60.png",
  95. "settings@2x" : "unpackage/res/icons/58x58.png",
  96. "settings@3x" : "unpackage/res/icons/87x87.png",
  97. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  98. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  99. }
  100. }
  101. },
  102. "splashscreen" : {
  103. "android" : {
  104. "hdpi" : "static/logo/480_762.png",
  105. "xhdpi" : "static/logo/720_1242.png",
  106. "xxhdpi" : "static/logo/1080_1882.png"
  107. },
  108. "ios" : {
  109. "iphone" : {
  110. "portrait-896h@3x" : "static/ios/1242_2688.png",
  111. "landscape-896h@3x" : "",
  112. "portrait-896h@2x" : "static/ios/828_1792.png",
  113. "landscape-896h@2x" : "",
  114. "iphonex" : "static/ios/1125_2436.png",
  115. "iphonexl" : "",
  116. "retina55" : "static/ios/1242_2208.png",
  117. "retina55l" : "",
  118. "retina47" : "static/ios/750_1334.png",
  119. "retina47l" : "",
  120. "retina40" : "static/ios/642_1136.png",
  121. "retina40l" : "",
  122. "retina35" : "static/ios/640_960.png"
  123. },
  124. "storyboard" : "/Users/zaizai/我的文件/工作项目/hczc/文档资料/app相关/老app/hzczxx@aliyun(7).com/CustomStoryboard/CustomStoryboard.zip"
  125. },
  126. "iosStyle" : "storyboard"
  127. }
  128. },
  129. "splashscreen" : {
  130. "waiting" : false,
  131. "autoclose" : true,
  132. "alwaysShowBeforeRender" : true,
  133. "delay" : 3000
  134. }
  135. },
  136. /* SDK配置 */
  137. "quickapp" : {},
  138. /* 快应用特有相关 */
  139. "mp-weixin" : {
  140. /* 小程序特有相关 */
  141. "appid" : "",
  142. "setting" : {
  143. "urlCheck" : true
  144. },
  145. "usingComponents" : true
  146. },
  147. "h5" : {
  148. "devServer" : {
  149. "https" : false,
  150. "port" : 8081, //app端口号
  151. "proxy" : {
  152. //解决跨域请求报错
  153. "/api" : {
  154. "target" : "http://www.hcxxy.com",
  155. // "target" : "http://112.126.62.201:80",
  156. // "target" : "http://localhost",
  157. //"target" : "http://192.168.0.131", //请求的后端url
  158. "changeOrigin" : true, //是否跨域
  159. "secure" : false, // 设置支持https协议的代理
  160. "pathRewrite" : {
  161. "^/api" : ""
  162. } //移动端接口为/api才使用代理,然后把/api替换成""
  163. }
  164. }
  165. },
  166. "sdkConfigs" : {
  167. "maps" : {}
  168. },
  169. "router" : {
  170. "base" : "./",
  171. "mode" : "hash"
  172. },
  173. "title" : "智慧工程"
  174. }
  175. }
  176. // "target" : "http://192.168.3.142:8080", //请求的后端url
  177. /* "target" : "http://192.168.0.106:8080", //请求的后端url *///请求的后端url
  178. /* "target" : "http://192.168.0.106:8080", //请求的后端url *//* "target" : "http://112.126.62.201", //请求的后端url *///请求的后端url
  179. //是否跨域
  180. // 设置支持https协议的代理