manifest.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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. "uniStatistics" : {
  66. "enable" : true
  67. }
  68. },
  69. /* 快应用特有相关 */
  70. "quickapp" : {},
  71. /* 小程序特有相关 */
  72. "mp-weixin" : {
  73. "appid" : "wx63c280fe3248a3e7",
  74. "setting" : {
  75. "urlCheck" : true,
  76. "minified" : true,
  77. "postcss" : true,
  78. "es6" : true
  79. },
  80. "requiredPrivateInfos" : [ "getLocation" ],
  81. "permission" : {
  82. "scope.userLocation" : {
  83. "desc" : "你的位置信息将用于位置接口的效果展示"
  84. }
  85. },
  86. // "plugins" : {
  87. // "chat" : {
  88. // "version" : "1.0.8",
  89. // "provider" : "wx738958e0f4c894f9"
  90. // }
  91. // },
  92. // "sitemapLocation" : "sitemap.json",
  93. "usingComponents" : true
  94. },
  95. "mp-alipay" : {
  96. "usingComponents" : true
  97. },
  98. "mp-baidu" : {
  99. "usingComponents" : true
  100. },
  101. "mp-toutiao" : {
  102. "usingComponents" : true
  103. },
  104. "h5" : {
  105. "devServer" : {
  106. "https" : false,
  107. "disableHostCheck" : true
  108. },
  109. "router" : {
  110. "mode" : "history",
  111. "base" : ""
  112. },
  113. "domain" : "",
  114. "sdkConfigs" : {
  115. "maps" : {}
  116. },
  117. "optimization" : {
  118. "treeShaking" : {
  119. "enable" : true
  120. }
  121. },
  122. "async" : {
  123. "timeout" : 200000
  124. },
  125. "title" : "芋道商城"
  126. },
  127. "plus" : {
  128. "statusbar" : {
  129. "immersed" : true
  130. }
  131. }
  132. }