manifest.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "name": "奉化数字门牌",
  3. "appid": "",
  4. "description": "",
  5. "versionName": "1.0.0",
  6. "versionCode": "100",
  7. "transformPx": false,
  8. "app-plus": {
  9. /* 5+App特有相关 */ "usingComponents": true,
  10. "splashscreen": {
  11. "alwaysShowBeforeRender": true,
  12. "waiting": true,
  13. "autoclose": true,
  14. "delay": 0
  15. },
  16. "modules": {
  17. /* 模块配置 */
  18. },
  19. "distribute": {
  20. /* 应用发布信息 */
  21. "android": {
  22. /* android打包配置 */
  23. "permissions": [
  24. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  25. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  26. "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
  27. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  28. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  29. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  30. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  31. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
  32. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  33. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  34. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  35. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  36. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  37. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  38. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  39. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  40. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  41. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  42. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  43. "<uses-feature android:name=\"android.hardware.camera\"/>",
  44. "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
  45. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  46. ]
  47. },
  48. "ios": {
  49. /* ios打包配置 */
  50. },
  51. "sdkConfigs": {
  52. /* SDK配置 */
  53. }
  54. }
  55. },
  56. "quickapp": {
  57. /* 快应用特有相关 */
  58. },
  59. "mp-weixin": {
  60. /* 微信小程序特有相关 */ "appid": "wxe5ac54a433483685",
  61. "setting": {
  62. "urlCheck": false
  63. },
  64. "usingComponents": true,
  65. "optimization": {
  66. "subPackages": true
  67. },
  68. "permission": {
  69. "scope.userLocation": {
  70. "desc": "允许小程序获取位置信息,提供周边服务"
  71. }
  72. },
  73. "requiredPrivateInfos": ["chooseLocation", "getLocation"]
  74. },
  75. "mp-alipay": {
  76. "usingComponents": true
  77. },
  78. "mp-baidu": {
  79. "usingComponents": true
  80. },
  81. "mp-toutiao": {
  82. "usingComponents": true
  83. },
  84. "mp-qq": {
  85. "usingComponents": true
  86. },
  87. "h5": {
  88. "sdkConfigs": {
  89. // 使用地图或位置相关功能必须填写其一
  90. "maps": {
  91. "qqmap": {
  92. "key": "ZA2BZ-CIVCD-VZZ4M-PQD2X-V6YBJ-NBFXT"
  93. }
  94. }
  95. },
  96. "devServer": {
  97. "port": 8888,
  98. "proxy": {
  99. "/digital-doorplate": {
  100. "target": "http://172.18.50.88:8070",
  101. "changeOrigin": true
  102. },
  103. "/v3/geocode/geo":{
  104. "target": "https://restapi.amap.com",
  105. "changeOrigin": true
  106. }
  107. },
  108. "disableHostCheck": true
  109. },
  110. "publicPath": "./",
  111. "router": {
  112. "mode": "hash",
  113. "base": "./"
  114. }
  115. }
  116. }