manifest.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "name" : "sugarpark-mini-program",
  3. "appid" : "__UNI__1ED9DE5",
  4. "description" : "",
  5. "versionName" : "1.0.0",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. /* 5+App特有相关 */
  9. "app-plus" : {
  10. "usingComponents" : true,
  11. "nvueStyleCompiler" : "uni-app",
  12. "compilerVersion" : 3,
  13. "splashscreen" : {
  14. "alwaysShowBeforeRender" : true,
  15. "waiting" : true,
  16. "autoclose" : true,
  17. "delay" : 0
  18. },
  19. /* 模块配置 */
  20. "modules" : {},
  21. /* 应用发布信息 */
  22. "distribute" : {
  23. /* android打包配置 */
  24. "android" : {
  25. "permissions" : [
  26. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  27. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  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.ACCESS_NETWORK_STATE\"/>",
  33. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  34. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  35. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  36. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  37. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  38. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  39. "<uses-feature android:name=\"android.hardware.camera\"/>",
  40. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  41. ]
  42. },
  43. /* ios打包配置 */
  44. "ios" : {},
  45. /* SDK配置 */
  46. "sdkConfigs" : {}
  47. }
  48. },
  49. /* 快应用特有相关 */
  50. "quickapp" : {},
  51. /* 小程序特有相关 */
  52. "mp-weixin" : {
  53. "appid" : "wx1b43cad351b5f0d1",
  54. "setting" : {
  55. "urlCheck" : false,
  56. "es6" : true,
  57. "postcss" : true,
  58. "minified" : true,
  59. "checkSiteMap" : false,
  60. "ignoreDevUnusedFiles" : false,
  61. "ignoreUploadUnusedFiles" : false
  62. },
  63. "usingComponents" : true,
  64. "requiredPrivateInfos" : [ "getFuzzyLocation" ],
  65. "permission" : {
  66. "scope.userLocation" : {
  67. "desc" : "获取您的位置获得更多优质推荐"
  68. },
  69. "scope.userFuzzyLocation" : {
  70. "desc" : "获取您的位置获得更多优质推荐"
  71. }
  72. }
  73. },
  74. "mp-alipay" : {
  75. "usingComponents" : true
  76. },
  77. "mp-baidu" : {
  78. "usingComponents" : true
  79. },
  80. "mp-toutiao" : {
  81. "usingComponents" : true
  82. },
  83. "uniStatistics" : {
  84. "enable" : false
  85. },
  86. "vueVersion" : "2",
  87. "h5" : {
  88. // "devServer" : {
  89. // "disableHostCheck" : true,
  90. // "proxy" : {
  91. // "/api" : {
  92. // "target" : "http://zhenyanapp-gen.oss-cn-qingdao.aliyuncs.com/upload-file", //请求的目标域名
  93. // "changeOrigin" : true,
  94. // "secure" : false
  95. // }
  96. // },
  97. // "port" : 8848,
  98. // "https" : false
  99. // },
  100. "sdkConfigs" : {
  101. "maps" : {
  102. "qqmap" : {
  103. "key" : "E5SBZ-T2YC3-CBL3F-YGFQQ-26PP2-ERFII"
  104. }
  105. }
  106. },
  107. "router" : {
  108. "mode" : "hash"
  109. },
  110. "title" : "糖果公园",
  111. "optimization" : {
  112. "treeShaking" : {
  113. "enable" : true
  114. }
  115. }
  116. }
  117. }