manifest.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {
  2. "name" : "yudao",
  3. "appid" : "__UNI__F8A9CA1",
  4. "description" : "芋道商城",
  5. "versionName" : "1.0.0",
  6. "versionCode" : 1001,
  7. "transformPx" : false,
  8. /* 5+App特有相关 */
  9. "app-plus" : {
  10. "usingComponents" : true,
  11. "nvueCompiler" : "uni-app",
  12. "splashscreen" : {
  13. "alwaysShowBeforeRender" : false,
  14. "waiting" : false,
  15. "autoclose" : true,
  16. "delay" : 0
  17. },
  18. /* 模块配置 */
  19. "modules" : {
  20. "Geolocation" : {},
  21. "Barcode" : {},
  22. "Camera" : {}
  23. },
  24. /* 应用发布信息 */
  25. "distribute" : {
  26. /* android打包配置 */
  27. "android" : {
  28. "permissions" : [
  29. "<uses-feature android:name=\"android.hardware.camera\"/>",
  30. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  31. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  32. "<uses-permission android:name=\"android.permission.CHANGE_COMPONENT_ENABLED_STATE\"/>",
  33. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  34. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  35. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  36. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  37. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  38. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>"
  39. ],
  40. "abiFilters" : []
  41. },
  42. /* ios打包配置 */
  43. "ios" : {
  44. "idfa" : false,
  45. "dSYMs" : false
  46. },
  47. /* SDK配置 */
  48. "sdkConfigs" : {
  49. "ad" : {},
  50. "geolocation" : {
  51. "system" : {
  52. "__platform__" : [ "ios", "android" ]
  53. }
  54. },
  55. "maps" : {
  56. "amap" : {
  57. "appkey_ios" : "",
  58. "appkey_android" : ""
  59. }
  60. }
  61. },
  62. "icons" : {}
  63. },
  64. "nvueLaunchMode" : ""
  65. },
  66. /* 快应用特有相关 */
  67. "quickapp" : {},
  68. /* 小程序特有相关 */
  69. "mp-weixin" : {
  70. "appid" : "wx63c280fe3248a3e7",
  71. "setting" : {
  72. "urlCheck" : true,
  73. "minified" : true,
  74. "postcss" : true,
  75. "es6" : true
  76. },
  77. "requiredPrivateInfos" : [ "getLocation" ],
  78. "permission" : {
  79. "scope.userLocation" : {
  80. "desc" : "你的位置信息将用于位置接口的效果展示"
  81. }
  82. },
  83. // "plugins" : {
  84. // "chat" : {
  85. // "version" : "1.0.8",
  86. // "provider" : "wx738958e0f4c894f9"
  87. // }
  88. // },
  89. // "sitemapLocation" : "sitemap.json",
  90. "usingComponents" : true
  91. },
  92. "mp-alipay" : {
  93. "usingComponents" : true
  94. },
  95. "mp-baidu" : {
  96. "usingComponents" : true
  97. },
  98. "mp-toutiao" : {
  99. "usingComponents" : true
  100. },
  101. "h5" : {
  102. "devServer" : {
  103. "https" : false,
  104. "disableHostCheck" : true
  105. },
  106. "router" : {
  107. "mode" : "history",
  108. "base" : ""
  109. },
  110. "domain" : "",
  111. "sdkConfigs" : {
  112. "maps" : {}
  113. },
  114. "optimization" : {
  115. "treeShaking" : {
  116. "enable" : true
  117. }
  118. },
  119. "async" : {
  120. "timeout" : 200000
  121. },
  122. "title" : "芋道商城"
  123. },
  124. "plus" : {
  125. "statusbar" : {
  126. "immersed" : true
  127. }
  128. }
  129. }