manifest.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name" : "Dudao",
  3. "appid" : "__UNI__5AAD1F2",
  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. "Share" : {}
  18. },
  19. /* 模块配置 */
  20. "distribute" : {
  21. /* 应用发布信息 */
  22. "android" : {
  23. /* android打包配置 */
  24. "permissions" : [
  25. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  26. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  27. "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
  28. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  29. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  30. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  31. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  32. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
  33. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  34. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  35. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  36. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  37. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  38. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  39. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  40. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  41. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  42. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  43. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  44. "<uses-feature android:name=\"android.hardware.camera\"/>",
  45. "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
  46. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  47. ]
  48. },
  49. "ios" : {},
  50. /* ios打包配置 */
  51. "sdkConfigs" : {}
  52. }
  53. },
  54. /* SDK配置 */
  55. "quickapp" : {},
  56. /* 快应用特有相关 */
  57. "mp-weixin" : {
  58. "appid" : "wx66ce59a1b7fdf3f5",
  59. "setting" : {
  60. "urlCheck" : true,
  61. "es6" : true,
  62. "postcss" : true,
  63. "minified" : true
  64. },
  65. "usingComponents" : true,
  66. "permission" : {
  67. "scope.userLocation" : {
  68. "desc" : "你的位置信息将用于小程序位置接口的效果展示"
  69. }
  70. }
  71. },
  72. "h5" : {
  73. "title" : "读道文旅",
  74. "optimization" : {
  75. "treeShaking" : {
  76. "enable" : true
  77. }
  78. },
  79. "devServer" : {
  80. "port" : 8000,
  81. "disableHostCheck" : true,
  82. "proxy" : {
  83. "/dpc" : {
  84. "target" : "http://www.dudaowenlv.com/",
  85. "changeOrigin" : true,
  86. "secure" : false,
  87. "pathRewrite" : {
  88. "^/api" : ""
  89. }
  90. }
  91. },
  92. "https" : true
  93. },
  94. "domain" : "http://192.168.0.130",
  95. "router" : {
  96. "mode" : "hash",
  97. "base" : ""
  98. },
  99. "sdkConfigs" : {
  100. "maps" : {}
  101. }
  102. }
  103. }