manifest.json 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. {
  2. "name" : "满园春线上商城",
  3. "appid" : "__UNI__F0EBD91",
  4. "description" : "",
  5. "versionName" : "1.0.4",
  6. "versionCode" : 111,
  7. "transformPx" : false,
  8. "uniStatistics" : {
  9. "enable" : false //全局关闭
  10. },
  11. "app-plus" : {
  12. /* 5+App特有相关 */
  13. "usingComponents" : true,
  14. "splashscreen" : {
  15. "alwaysShowBeforeRender" : true,
  16. "waiting" : true,
  17. "autoclose" : true,
  18. "delay" : 0
  19. },
  20. "modules" : {
  21. "OAuth" : {},
  22. "Share" : {},
  23. "Payment" : {}
  24. },
  25. /* 模块配置 */
  26. "distribute" : {
  27. /* 应用发布信息 */
  28. "android" : {
  29. /* android打包配置 */
  30. "permissions" : [
  31. "<uses-feature android:name=\"android.hardware.camera\"/>",
  32. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  33. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_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.FLASHLIGHT\"/>",
  40. "<uses-permission android:name=\"android.permission.INTERNET\"/>",
  41. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  42. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  43. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  44. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  45. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  46. "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>"
  47. ],
  48. "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
  49. "autoSdkPermissions" : true
  50. },
  51. "ios" : {
  52. "idfa" : false,
  53. "capabilities" : {
  54. "entitlements" : {
  55. "com.apple.developer.associated-domains" : [ "applinks:yrh.liuniu946.com" ]
  56. }
  57. }
  58. },
  59. /* ios打包配置 */
  60. "sdkConfigs" : {
  61. "maps" : {},
  62. "oauth" : {
  63. "weixin" : {
  64. "appid" : "wx3ff7aa4ad9ada474",
  65. "appsecret" : "05b46c28ed0efe79de119a559b4de1c3",
  66. "UniversalLinks" : "https://yrh.liuniu946.com/links/"
  67. },
  68. "apple" : {}
  69. },
  70. "payment" : {
  71. "weixin" : {
  72. "appid" : "wx3ff7aa4ad9ada474",
  73. "UniversalLinks" : "https://yrh.liuniu946.com/links/"
  74. }
  75. },
  76. "share" : {
  77. "weixin" : {
  78. "appid" : "wx3ff7aa4ad9ada474",
  79. "UniversalLinks" : "https://yrh.liuniu946.com/links/"
  80. }
  81. },
  82. "ad" : {}
  83. },
  84. "icons" : {
  85. "android" : {
  86. "hdpi" : "unpackage/res/icons/72x72.png",
  87. "xhdpi" : "unpackage/res/icons/96x96.png",
  88. "xxhdpi" : "unpackage/res/icons/144x144.png",
  89. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  90. },
  91. "ios" : {
  92. "appstore" : "unpackage/res/icons/1024x1024.png",
  93. "ipad" : {
  94. "app" : "unpackage/res/icons/76x76.png",
  95. "app@2x" : "unpackage/res/icons/152x152.png",
  96. "notification" : "unpackage/res/icons/20x20.png",
  97. "notification@2x" : "unpackage/res/icons/40x40.png",
  98. "proapp@2x" : "unpackage/res/icons/167x167.png",
  99. "settings" : "unpackage/res/icons/29x29.png",
  100. "settings@2x" : "unpackage/res/icons/58x58.png",
  101. "spotlight" : "unpackage/res/icons/40x40.png",
  102. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  103. },
  104. "iphone" : {
  105. "app@2x" : "unpackage/res/icons/120x120.png",
  106. "app@3x" : "unpackage/res/icons/180x180.png",
  107. "notification@2x" : "unpackage/res/icons/40x40.png",
  108. "notification@3x" : "unpackage/res/icons/60x60.png",
  109. "settings@2x" : "unpackage/res/icons/58x58.png",
  110. "settings@3x" : "unpackage/res/icons/87x87.png",
  111. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  112. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  113. }
  114. }
  115. },
  116. "splashscreen" : {
  117. "android" : {
  118. "hdpi" : "unpackage/res/app图/启动图/480x762.png",
  119. "xhdpi" : "unpackage/res/app图/启动图/720x1242.png",
  120. "xxhdpi" : "unpackage/res/app图/启动图/1080x1882.png"
  121. },
  122. "ios" : {
  123. "iphone" : {
  124. "portrait-896h@3x" : "D:/app项目文件/满园春/app图/启动图/1242x2688.png",
  125. "portrait-896h@2x" : "D:/app项目文件/满园春/app图/启动图/828x1792.png",
  126. "iphonex" : "D:/app项目文件/满园春/app图/启动图/1125x2436.png",
  127. "retina55" : "D:/app项目文件/满园春/app图/启动图/1242x2208.png",
  128. "retina47" : "D:/app项目文件/满园春/app图/启动图/750x1334.png",
  129. "retina40" : "D:/app项目文件/满园春/app图/启动图/640x1136.png"
  130. },
  131. "storyboard" : "unpackage/res/CustomStoryboard.zip"
  132. },
  133. "iosStyle" : "storyboard",
  134. "androidStyle" : "default"
  135. }
  136. }
  137. },
  138. /* SDK配置 */
  139. "quickapp" : {},
  140. /* 快应用特有相关 */
  141. "mp-weixin" : {
  142. /* 小程序特有相关 */
  143. "usingComponents" : true,
  144. "appid" : "",
  145. "setting" : {
  146. "urlCheck" : true
  147. }
  148. },
  149. "h5" : {
  150. "title" : "满园春线上商城",
  151. "domain" : "",
  152. "router" : {
  153. "base" : "/index/",
  154. "mode" : "history"
  155. },
  156. "devServer" : {
  157. "port" : ""
  158. },
  159. "optimization" : {
  160. "treeShaking" : {
  161. "enable" : true
  162. }
  163. }
  164. }
  165. }