manifest.json 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. {
  2. "name" : "福利商城fmt2",
  3. "appid" : "__UNI__F98C4E2",
  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. "safearea" : {
  18. "background" : "#CCCCCC",
  19. "bottom" : {
  20. "offset" : "auto"
  21. }
  22. },
  23. "modules" : {},
  24. /* 模块配置 */
  25. "distribute" : {
  26. /* 应用发布信息 */
  27. "android" : {
  28. /* android打包配置 */
  29. "permissions" : [
  30. "<uses-feature android:name=\"android.hardware.camera\"/>",
  31. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  32. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  33. "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
  34. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  35. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  36. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  37. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  38. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  39. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  40. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  41. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  42. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  43. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  44. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  45. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  46. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  47. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
  48. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  49. ],
  50. "abiFilters" : [ "armeabi-v7a", "x86" ]
  51. },
  52. "ios" : {
  53. "privacyDescription" : {
  54. "NSPhotoLibraryUsageDescription" : ""
  55. },
  56. "urltypes" : "wxc80da22c408c9a85"
  57. },
  58. /* ios打包配置 */
  59. "sdkConfigs" : {
  60. "payment" : {
  61. "weixin" : {
  62. "__platform__" : [ "ios", "android" ],
  63. "appid" : "wxc80da22c408c9a85",
  64. "UniversalLinks" : "https://demo.dcloud.net.cn/ulink/"
  65. }
  66. },
  67. "oauth" : {
  68. "weixin" : {
  69. "appid" : "wxc80da22c408c9a85",
  70. "appsecret" : "",
  71. "UniversalLinks" : "https://demo.dcloud.net.cn/ulink/"
  72. }
  73. },
  74. "ad" : {},
  75. "push" : {},
  76. "share" : {}
  77. },
  78. "splashscreen" : {
  79. "androidStyle" : "default",
  80. "iosStyle" : "common",
  81. "android" : {
  82. "hdpi" : ""
  83. }
  84. },
  85. "icons" : {
  86. "android" : {
  87. "hdpi" : "unpackage/res/icons/72x72.png",
  88. "xhdpi" : "unpackage/res/icons/96x96.png",
  89. "xxhdpi" : "unpackage/res/icons/144x144.png",
  90. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  91. },
  92. "ios" : {
  93. "appstore" : "unpackage/res/icons/1024x1024.png",
  94. "ipad" : {
  95. "app" : "unpackage/res/icons/76x76.png",
  96. "app@2x" : "unpackage/res/icons/152x152.png",
  97. "notification" : "unpackage/res/icons/20x20.png",
  98. "notification@2x" : "unpackage/res/icons/40x40.png",
  99. "proapp@2x" : "unpackage/res/icons/167x167.png",
  100. "settings" : "unpackage/res/icons/29x29.png",
  101. "settings@2x" : "unpackage/res/icons/58x58.png",
  102. "spotlight" : "unpackage/res/icons/40x40.png",
  103. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  104. },
  105. "iphone" : {
  106. "app@2x" : "unpackage/res/icons/120x120.png",
  107. "app@3x" : "unpackage/res/icons/180x180.png",
  108. "notification@2x" : "unpackage/res/icons/40x40.png",
  109. "notification@3x" : "unpackage/res/icons/60x60.png",
  110. "settings@2x" : "unpackage/res/icons/58x58.png",
  111. "settings@3x" : "unpackage/res/icons/87x87.png",
  112. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  113. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. /* SDK配置 */
  120. "quickapp" : {},
  121. /* 快应用特有相关 */
  122. "mp-weixin" : {
  123. /* 小程序特有相关 */
  124. "usingComponents" : true,
  125. "appid" : "wxc80da22c408c9a85",
  126. "setting" : {
  127. "urlCheck" : true,
  128. "minified" : false,
  129. "es6" : true,
  130. "postcss" : true
  131. },
  132. "permission" : {},
  133. "plugins" : {},
  134. "uniStatistics" : {
  135. "enable" : true
  136. },
  137. "optimization" : {
  138. "subPackages" : true
  139. },
  140. "requiredPrivateInfos" : [ "chooseAddress" ],
  141. "unipush" : {
  142. "enable" : false
  143. }
  144. },
  145. "h5" : {
  146. "router" : {
  147. "base" : "./",
  148. "mode" : "hash"
  149. },
  150. "devServer" : {
  151. "port" : 80,
  152. "https" : true
  153. },
  154. "sdkConfigs" : {
  155. "maps" : {
  156. "google" : {
  157. "key" : ""
  158. }
  159. }
  160. },
  161. "uniStatistics" : {
  162. "enable" : true
  163. },
  164. "title" : "商城",
  165. "template" : "index.html"
  166. },
  167. "mp-toutiao" : {
  168. "setting" : {
  169. "minified" : true
  170. },
  171. "uniStatistics" : {
  172. "enable" : true
  173. }
  174. }
  175. }