manifest.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. {
  2. "name" : "美美赚",
  3. "appid" : "__UNI__F4972E3",
  4. "description" : "",
  5. "versionName" : "1.0.0",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. "app-plus" : {
  9. /* 5+App特有相关 */
  10. "usingComponents" : true,
  11. "splashscreen" : {
  12. "alwaysShowBeforeRender" : true,
  13. "waiting" : true,
  14. "autoclose" : true,
  15. "delay" : 0
  16. },
  17. "modules" : {
  18. "Payment" : {},
  19. "Share" : {}
  20. },
  21. /* 模块配置 */
  22. "distribute" : {
  23. /* 应用发布信息 */
  24. "android" : {
  25. /* android打包配置 */
  26. "permissions" : [
  27. "<uses-feature android:name=\"android.hardware.camera\"/>",
  28. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  29. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  30. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  31. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  32. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  33. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  34. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  35. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  36. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  37. "<uses-permission android:name=\"android.permission.INTERNET\"/>",
  38. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  39. "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
  40. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  41. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  42. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  43. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  44. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
  45. "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>"
  46. ]
  47. },
  48. "ios" : {},
  49. /* ios打包配置 */
  50. "sdkConfigs" : {
  51. "maps" : {},
  52. "ad" : {},
  53. "payment" : {
  54. "alipay" : {
  55. "__platform__" : [ "android" ]
  56. },
  57. "weixin" : {
  58. "__platform__" : [ "android" ],
  59. "appid" : "wxa9378fe9f8d29714",
  60. "UniversalLinks" : ""
  61. }
  62. },
  63. "push" : {},
  64. "share" : {
  65. "weixin" : {
  66. "appid" : "wxa9378fe9f8d29714",
  67. "UniversalLinks" : ""
  68. }
  69. }
  70. },
  71. "icons" : {
  72. "android" : {
  73. "hdpi" : "unpackage/res/icons/72x72.png",
  74. "xhdpi" : "unpackage/res/icons/96x96.png",
  75. "xxhdpi" : "unpackage/res/icons/144x144.png",
  76. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  77. },
  78. "ios" : {
  79. "appstore" : "unpackage/res/icons/1024x1024.png",
  80. "ipad" : {
  81. "app" : "unpackage/res/icons/76x76.png",
  82. "app@2x" : "unpackage/res/icons/152x152.png",
  83. "notification" : "unpackage/res/icons/20x20.png",
  84. "notification@2x" : "unpackage/res/icons/40x40.png",
  85. "proapp@2x" : "unpackage/res/icons/167x167.png",
  86. "settings" : "unpackage/res/icons/29x29.png",
  87. "settings@2x" : "unpackage/res/icons/58x58.png",
  88. "spotlight" : "unpackage/res/icons/40x40.png",
  89. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  90. },
  91. "iphone" : {
  92. "app@2x" : "unpackage/res/icons/120x120.png",
  93. "app@3x" : "unpackage/res/icons/180x180.png",
  94. "notification@2x" : "unpackage/res/icons/40x40.png",
  95. "notification@3x" : "unpackage/res/icons/60x60.png",
  96. "settings@2x" : "unpackage/res/icons/58x58.png",
  97. "settings@3x" : "unpackage/res/icons/87x87.png",
  98. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  99. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  100. }
  101. }
  102. }
  103. }
  104. },
  105. /* SDK配置 */
  106. "quickapp" : {},
  107. /* 快应用特有相关 */
  108. "mp-weixin" : {
  109. /* 小程序特有相关 */
  110. "usingComponents" : true,
  111. "appid" : "wxa9378fe9f8d29714",
  112. "setting" : {
  113. "urlCheck" : true,
  114. "minified" : true,
  115. "postcss" : true
  116. }
  117. },
  118. "h5" : {
  119. "title" : "商城",
  120. "domain" : "",
  121. "router" : {
  122. "base" : "/index/",
  123. "mode" : "history"
  124. },
  125. "devServer" : {
  126. "port" : ""
  127. },
  128. "optimization" : {
  129. "treeShaking" : {
  130. "enable" : true
  131. }
  132. }
  133. },
  134. "mp-toutiao" : {
  135. "setting" : {
  136. "minified" : true
  137. }
  138. }
  139. }