manifest.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "name" : "helle-app",
  3. "appid" : "__UNI__564D069",
  4. "description" : "",
  5. "versionName" : "1.0.0",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. "app-plus" : {
  9. /* 5+App特有相关 */
  10. "usingComponents" : true,
  11. "splashscreen" : {
  12. "alwaysShowBeforeRender" : true,
  13. "waiting" : true,
  14. "autoclose" : true,
  15. "delay" : 0
  16. },
  17. "modules" : {
  18. "Bluetooth" : {},
  19. "Contacts" : {},
  20. "Fingerprint" : {},
  21. "LivePusher" : {},
  22. "Maps" : {},
  23. "OAuth" : {},
  24. "Payment" : {},
  25. "Push" : {},
  26. "Share" : {},
  27. "Speech" : {},
  28. "SQLite" : {},
  29. "VideoPlayer" : {}
  30. },
  31. /* 模块配置 */
  32. "distribute" : {
  33. /* 应用发布信息 */
  34. "android" : {
  35. /* android打包配置 */
  36. "permissions" : [
  37. "<uses-feature android:name=\"android.hardware.camera\"/>",
  38. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  39. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  40. "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
  41. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  42. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  43. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  44. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  45. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  46. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  47. "<uses-permission android:name=\"android.permission.DELETE_CACHE_FILES\"/>",
  48. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  49. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  50. "<uses-permission android:name=\"android.permission.INTERNET\"/>",
  51. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  52. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  53. "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
  54. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  55. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  56. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  57. "<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>",
  58. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  59. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  60. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
  61. "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
  62. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  63. ]
  64. },
  65. "ios" : {},
  66. /* ios打包配置 */
  67. "sdkConfigs" : {
  68. "speech" : {
  69. "ifly" : {}
  70. }
  71. }
  72. }
  73. },
  74. /* SDK配置 */
  75. "quickapp" : {},
  76. /* 快应用特有相关 */
  77. "mp-weixin" : {
  78. "appid" : "wxe44775f71378af60",
  79. "setting" : {
  80. "urlCheck" : false,
  81. "es6" : true,
  82. "postcss" : true,
  83. "minified" : true
  84. },
  85. "usingComponents" : false,
  86. "permission" : {
  87. "scope.userLocation" : {
  88. "desc" : "获取位置信息,提供最优服务"
  89. }
  90. }
  91. },
  92. "h5" : {
  93. "router" : {},
  94. // "base" : "/m/"
  95. "asyuc" : {
  96. "loading" : "AsyncLoading",
  97. "error" : "AsyncError",
  98. "delay" : 100,
  99. "timeout" : 5000
  100. },
  101. "devServer" : {
  102. "disableHostCheck" : true,
  103. "proxy" : {
  104. "/v" : {
  105. "target" : "http://v.juhe.cn",
  106. "ws" : false,
  107. "secure" : false,
  108. "changeOrigin" : true,
  109. "pathRewrite" : {
  110. "^/v" : "/"
  111. }
  112. },
  113. "/api" : {
  114. "target" : "http://apis.juhe.cn",
  115. "ws" : false,
  116. "secure" : false,
  117. "changeOrigin" : true,
  118. "pathRewrite" : {
  119. "^/api" : "/"
  120. }
  121. }
  122. },
  123. "https" : false
  124. },
  125. "title" : "首頁",
  126. "domain" : ""
  127. },
  128. "networkTimeout" : {
  129. "request" : 5000
  130. }
  131. }