manifest.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "name" : "救援者",
  3. "appid" : "__UNI__DA9A845",
  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. /* 模块配置 */
  19. "distribute" : {
  20. /* 应用发布信息 */
  21. "android" : {
  22. /* android打包配置 */
  23. "permissions" : [
  24. "<uses-feature android:name=\"android.hardware.camera\"/>",
  25. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  26. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  27. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  28. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  29. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  30. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  31. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  32. "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
  33. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  34. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  35. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  36. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>"
  37. ]
  38. },
  39. "ios" : {},
  40. /* ios打包配置 */
  41. "sdkConfigs" : {
  42. "maps" : {}
  43. }
  44. },
  45. "uniStatistics" : {
  46. "enable" : false
  47. }
  48. },
  49. /* SDK配置 */
  50. "quickapp" : {},
  51. /* 快应用特有相关 */
  52. "mp-weixin" : {
  53. /* 小程序特有相关 */
  54. "usingComponents" : true,
  55. "appid" : "wx8f5ca89868d2faa3",
  56. "setting" : {
  57. "urlCheck" : true
  58. },
  59. "permission" : {
  60. "scope.userLocation" : {
  61. "desc" : "根据您的位置为您提供最近的救援者"
  62. }
  63. },
  64. "requiredPrivateInfos" : [ "getLocation" ],
  65. "uniStatistics" : {
  66. "enable" : false
  67. }
  68. },
  69. "h5" : {
  70. "title" : "救援者",
  71. "domain" : "",
  72. "router" : {
  73. "base" : "/index/",
  74. "mode" : "hash"
  75. },
  76. "devServer" : {
  77. "port" : 8080, //端口号
  78. "disableHostCheck" : true,
  79. "proxy" : {
  80. "/ws/" : {
  81. "target" : "http://apis.map.qq.com/ws/", //目标接口域名
  82. "changeOrigin" : true, //是否跨域
  83. "secure" : false // 设置支持https协议的代理
  84. }
  85. },
  86. "https" : false
  87. },
  88. "sdkConfigs" : {
  89. "maps" : {}
  90. },
  91. "uniStatistics" : {
  92. "enable" : false
  93. }
  94. },
  95. "uniStatistics" : {
  96. "enable" : false
  97. },
  98. "mp-alipay" : {
  99. "uniStatistics" : {
  100. "enable" : false
  101. }
  102. },
  103. "mp-baidu" : {
  104. "uniStatistics" : {
  105. "enable" : false
  106. }
  107. },
  108. "mp-qq" : {
  109. "uniStatistics" : {
  110. "enable" : false
  111. }
  112. },
  113. "mp-toutiao" : {
  114. "uniStatistics" : {
  115. "enable" : false
  116. }
  117. }
  118. }