manifest.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. {
  2. "name": "喜嗨购",
  3. "appid": "__UNI__F0D4DD1",
  4. "description": "",
  5. "versionName": "1.9.9",
  6. "versionCode": 199,
  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. "OAuth": {}
  20. },
  21. /* 模块配置 */
  22. "distribute": {
  23. /* 应用发布信息 */
  24. "android": {
  25. /* android打包配置 */
  26. "permissions": [
  27. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  28. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  29. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  30. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  31. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  32. "<uses-permission android:name=\"android.permission.INTERNET\"/>",
  33. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  34. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  35. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  36. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  37. "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>"
  38. ],
  39. "abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"]
  40. },
  41. "ios": {
  42. "idfa": false,
  43. "capabilities": {
  44. "entitlements": {
  45. "com.apple.developer.associated-domains": [
  46. "applinks:static-f2ce8da9-3823-402a-bd21-675f08b3b09b.bspapp.com"
  47. ]
  48. }
  49. }
  50. },
  51. /* ios打包配置 */
  52. "sdkConfigs": {
  53. "maps": {},
  54. "oauth": {
  55. "weixin": {
  56. "appid": "wx7ecea7b3999ee88c",
  57. "appsecret": "9c9329c67378aec194c48f259afbda9e",
  58. "UniversalLinks": "https://static-f2ce8da9-3823-402a-bd21-675f08b3b09b.bspapp.com/uni-universallinks/__UNI__F0D4DD1/"
  59. }
  60. },
  61. "geolocation": {},
  62. "payment": {
  63. "alipay": {
  64. "__platform__": ["ios", "android"]
  65. }
  66. },
  67. "push": {},
  68. "share": {},
  69. "speech": {},
  70. "statics": {},
  71. "ad": {}
  72. },
  73. "icons": {
  74. "android": {
  75. "hdpi": "unpackage/res/icons/72x72.png",
  76. "xhdpi": "unpackage/res/icons/96x96.png",
  77. "xxhdpi": "unpackage/res/icons/144x144.png",
  78. "xxxhdpi": "unpackage/res/icons/192x192.png"
  79. },
  80. "ios": {
  81. "appstore": "unpackage/res/icons/1024x1024.png",
  82. "ipad": {
  83. "app": "unpackage/res/icons/76x76.png",
  84. "app@2x": "unpackage/res/icons/152x152.png",
  85. "notification": "unpackage/res/icons/20x20.png",
  86. "notification@2x": "unpackage/res/icons/40x40.png",
  87. "proapp@2x": "unpackage/res/icons/167x167.png",
  88. "settings": "unpackage/res/icons/29x29.png",
  89. "settings@2x": "unpackage/res/icons/58x58.png",
  90. "spotlight": "unpackage/res/icons/40x40.png",
  91. "spotlight@2x": "unpackage/res/icons/80x80.png"
  92. },
  93. "iphone": {
  94. "app@2x": "unpackage/res/icons/120x120.png",
  95. "app@3x": "unpackage/res/icons/180x180.png",
  96. "notification@2x": "unpackage/res/icons/40x40.png",
  97. "notification@3x": "unpackage/res/icons/60x60.png",
  98. "settings@2x": "unpackage/res/icons/58x58.png",
  99. "settings@3x": "unpackage/res/icons/87x87.png",
  100. "spotlight@2x": "unpackage/res/icons/80x80.png",
  101. "spotlight@3x": "unpackage/res/icons/120x120.png"
  102. }
  103. }
  104. },
  105. "splashscreen": {
  106. "androidStyle": "default",
  107. "android": {
  108. "hdpi": "appbase/480.png",
  109. "xhdpi": "appbase/720.png",
  110. "xxhdpi": "appbase/1080.png"
  111. }
  112. }
  113. }
  114. },
  115. /* SDK配置 */
  116. "quickapp": {},
  117. /* 快应用特有相关 */
  118. "mp-weixin": {
  119. /* 小程序特有相关 */
  120. "usingComponents": true,
  121. "appid": "",
  122. "setting": {
  123. "urlCheck": true
  124. }
  125. },
  126. "h5": {
  127. "title": "喜嗨购",
  128. "domain": "",
  129. "router": {
  130. "base": "/index/",
  131. "mode": "hash"
  132. },
  133. "devServer": {
  134. "proxy": {
  135. "/api": {
  136. // "target" : "http://lnpt.frp.liuniu946.com/api",
  137. "target": "http://xhg.duolio.cn/api",
  138. // "changeOrigin": true,
  139. "pathRewrite": {
  140. "/api": "" // rewrite path
  141. }
  142. }
  143. }
  144. },
  145. "sdkConfigs": {
  146. "maps": {}
  147. }
  148. },
  149. "_spaceID": "f2ce8da9-3823-402a-bd21-675f08b3b09b"
  150. }