manifest.json 8.5 KB

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