manifest.json 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. {
  2. "name": "云咖交易",
  3. "appid": "__UNI__BDAA79C",
  4. "description": "",
  5. "versionName": "3.0.3",
  6. "versionCode": 303,
  7. "transformPx": false,
  8. /* 5+App特有相关 */
  9. "app-plus": {
  10. "runmode": "liberate",
  11. "usingComponents": true,
  12. "nvueStyleCompiler": "uni-app",
  13. "compilerVersion": 3,
  14. "splashscreen": {
  15. "alwaysShowBeforeRender": true,
  16. "waiting": true,
  17. "autoclose": true,
  18. "delay": 0
  19. },
  20. /* 模块配置 */
  21. "modules": {
  22. "Payment": {},
  23. "Share": {},
  24. "VideoPlayer": {},
  25. "Maps": {},
  26. "Geolocation": {},
  27. "OAuth": {},
  28. "Camera": {}
  29. },
  30. /* 应用发布信息 */
  31. "distribute": {
  32. /* android打包配置 */
  33. "android": {
  34. "permissions": [
  35. "<uses-feature android:name=\"android.hardware.camera\"/>",
  36. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  37. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  38. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  39. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  40. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  41. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  42. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  43. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  44. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  45. "<uses-permission android:name=\"android.permission.INTERNET\"/>",
  46. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  47. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  48. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  49. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  50. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  51. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  52. "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
  53. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  54. ]
  55. },
  56. /* ios打包配置 */
  57. "ios": {
  58. "privacyDescription": {
  59. "NSPhotoLibraryUsageDescription": "上传图片时需要",
  60. "NSLocationWhenInUseUsageDescription": "定位时需要",
  61. "NSCameraUsageDescription": "上传图片时需要"
  62. },
  63. "idfa": false,
  64. "dSYMs": false
  65. },
  66. /* SDK配置 */
  67. "sdkConfigs": {
  68. "ad": {},
  69. "payment": {
  70. "alipay": {
  71. "__platform__": [
  72. "ios",
  73. "android"
  74. ]
  75. },
  76. "weixin": {
  77. "__platform__": [
  78. "ios",
  79. "android"
  80. ],
  81. "appid": "wxc7de4255792273c2",
  82. "UniversalLinks": "https://coffee_site.metanone.cn/front-home/"
  83. }
  84. },
  85. "share": {
  86. "weixin": {
  87. "appid": "wxc7de4255792273c2",
  88. "UniversalLinks": "https://coffee_site.metanone.cn/front-home/"
  89. }
  90. },
  91. "maps": {
  92. "baidu": {
  93. "appkey_ios": "7Lr4vSSiKYO1xUZo84mBVb5EpYMt8xkw",
  94. "appkey_android": "XZzv6qoeGRrI01uHaQUo1y2SjDGaOvzV"
  95. }
  96. },
  97. "geolocation": {
  98. "baidu": {
  99. "__platform__": [
  100. "ios",
  101. "android"
  102. ],
  103. "appkey_ios": "7Lr4vSSiKYO1xUZo84mBVb5EpYMt8xkw",
  104. "appkey_android": "XZzv6qoeGRrI01uHaQUo1y2SjDGaOvzV"
  105. }
  106. },
  107. "oauth": {
  108. "weixin": {
  109. "appid": "wxc7de4255792273c2",
  110. "appsecret": "2b9b95b3d747801bcdd79f97d2e48cbf",
  111. "UniversalLinks": "https://coffee_site.metanone.cn/front-home/"
  112. }
  113. }
  114. },
  115. "icons": {
  116. "android": {
  117. "hdpi": "unpackage/res/icons/72x72.png",
  118. "xhdpi": "unpackage/res/icons/96x96.png",
  119. "xxhdpi": "unpackage/res/icons/144x144.png",
  120. "xxxhdpi": "unpackage/res/icons/192x192.png"
  121. },
  122. "ios": {
  123. "appstore": "unpackage/res/icons/1024x1024.png",
  124. "ipad": {
  125. "app": "unpackage/res/icons/76x76.png",
  126. "app@2x": "unpackage/res/icons/152x152.png",
  127. "notification": "unpackage/res/icons/20x20.png",
  128. "notification@2x": "unpackage/res/icons/40x40.png",
  129. "proapp@2x": "unpackage/res/icons/167x167.png",
  130. "settings": "unpackage/res/icons/29x29.png",
  131. "settings@2x": "unpackage/res/icons/58x58.png",
  132. "spotlight": "unpackage/res/icons/40x40.png",
  133. "spotlight@2x": "unpackage/res/icons/80x80.png"
  134. },
  135. "iphone": {
  136. "app@2x": "unpackage/res/icons/120x120.png",
  137. "app@3x": "unpackage/res/icons/180x180.png",
  138. "notification@2x": "unpackage/res/icons/40x40.png",
  139. "notification@3x": "unpackage/res/icons/60x60.png",
  140. "settings@2x": "unpackage/res/icons/58x58.png",
  141. "settings@3x": "unpackage/res/icons/87x87.png",
  142. "spotlight@2x": "unpackage/res/icons/80x80.png",
  143. "spotlight@3x": "unpackage/res/icons/120x120.png"
  144. }
  145. }
  146. },
  147. "splashscreen": {
  148. "androidStyle": "common"
  149. }
  150. }
  151. },
  152. /* 快应用特有相关 */
  153. "quickapp": {},
  154. /* 小程序特有相关 */
  155. "mp-weixin": {
  156. "appid": "wxeb199bd19f53ea42",
  157. "setting": {
  158. "urlCheck": false
  159. },
  160. "usingComponents": true
  161. },
  162. "mp-alipay": {
  163. "usingComponents": true
  164. },
  165. "mp-baidu": {
  166. "usingComponents": true
  167. },
  168. "mp-toutiao": {
  169. "usingComponents": true
  170. },
  171. "uniStatistics": {
  172. "enable": false
  173. },
  174. "h5": {
  175. "title": "云咖交易",
  176. "domain": "uniapp.dsmall.csdeshang.com",
  177. "router": {
  178. "mode": "history"
  179. },
  180. "devServer": {
  181. "https": false,
  182. "port": 8000 //浏览器运行端口
  183. },
  184. // "disableHostCheck": true,
  185. // "proxy": {
  186. // "/api": {
  187. // "target": "https://pl.valimart.net",//接口请求地址
  188. // "changeOrigin": true,
  189. // "secure": false,
  190. // "pathRewrite": {
  191. // "^/api": ""
  192. // }
  193. // }
  194. // }
  195. "sdkConfigs": {
  196. "maps": {
  197. "amap": {
  198. "key": "906420feef2568d74d6bd1a1185532e9",
  199. "securityJsCode": "7ae4d50f1831759f7e140efc83185051",
  200. "serviceHost": ""
  201. }
  202. }
  203. }
  204. }
  205. }