manifest.json 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. {
  2. "name" : "云咖交易",
  3. "appid" : "__UNI__BDAA79C",
  4. "description" : "",
  5. "versionName" : "3.0.1",
  6. "versionCode" : 301,
  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. },
  29. /* 应用发布信息 */
  30. "distribute" : {
  31. /* android打包配置 */
  32. "android" : {
  33. "permissions" : [
  34. "<uses-feature android:name=\"android.hardware.camera\"/>",
  35. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  36. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  37. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  38. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  39. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  40. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  41. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  42. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  43. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  44. "<uses-permission android:name=\"android.permission.INTERNET\"/>",
  45. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  46. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  47. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  48. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  49. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  50. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  51. "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
  52. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  53. ]
  54. },
  55. /* ios打包配置 */
  56. "ios" : {
  57. "privacyDescription" : {
  58. "NSPhotoLibraryUsageDescription" : "上传图片时需要",
  59. "NSLocationWhenInUseUsageDescription" : "定位时需要",
  60. "NSCameraUsageDescription" : "上传图片时需要"
  61. },
  62. "idfa" : false
  63. },
  64. /* SDK配置 */
  65. "sdkConfigs" : {
  66. "ad" : {},
  67. "payment" : {
  68. "alipay" : {
  69. "__platform__" : [ "ios", "android" ]
  70. },
  71. "weixin" : {
  72. "__platform__" : [ "ios", "android" ],
  73. "appid" : "wx65ea6cb402565257",
  74. "UniversalLinks" : "https://dsmall.csdeshang.com/ulink/"
  75. }
  76. },
  77. "share" : {
  78. "weixin" : {
  79. "appid" : "wx65ea6cb402565257",
  80. "UniversalLinks" : "https://dsmall.csdeshang.com/ulink/"
  81. }
  82. },
  83. "maps" : {
  84. "baidu" : {
  85. "appkey_ios" : "7Lr4vSSiKYO1xUZo84mBVb5EpYMt8xkw",
  86. "appkey_android" : "XZzv6qoeGRrI01uHaQUo1y2SjDGaOvzV"
  87. }
  88. },
  89. "geolocation" : {
  90. "baidu" : {
  91. "__platform__" : [ "ios", "android" ],
  92. "appkey_ios" : "7Lr4vSSiKYO1xUZo84mBVb5EpYMt8xkw",
  93. "appkey_android" : "XZzv6qoeGRrI01uHaQUo1y2SjDGaOvzV"
  94. }
  95. },
  96. "oauth" : {
  97. "weixin" : {
  98. "appid" : "wx65ea6cb402565257",
  99. "appsecret" : "acde7a9ace19a5dc9096631e1bae3e94",
  100. "UniversalLinks" : "https://dsmall.csdeshang.com/ulink/"
  101. }
  102. }
  103. },
  104. "icons" : {
  105. "android" : {
  106. "hdpi" : "unpackage/res/icons/72x72.png",
  107. "xhdpi" : "unpackage/res/icons/96x96.png",
  108. "xxhdpi" : "unpackage/res/icons/144x144.png",
  109. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  110. },
  111. "ios" : {
  112. "appstore" : "unpackage/res/icons/1024x1024.png",
  113. "ipad" : {
  114. "app" : "unpackage/res/icons/76x76.png",
  115. "app@2x" : "unpackage/res/icons/152x152.png",
  116. "notification" : "unpackage/res/icons/20x20.png",
  117. "notification@2x" : "unpackage/res/icons/40x40.png",
  118. "proapp@2x" : "unpackage/res/icons/167x167.png",
  119. "settings" : "unpackage/res/icons/29x29.png",
  120. "settings@2x" : "unpackage/res/icons/58x58.png",
  121. "spotlight" : "unpackage/res/icons/40x40.png",
  122. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  123. },
  124. "iphone" : {
  125. "app@2x" : "unpackage/res/icons/120x120.png",
  126. "app@3x" : "unpackage/res/icons/180x180.png",
  127. "notification@2x" : "unpackage/res/icons/40x40.png",
  128. "notification@3x" : "unpackage/res/icons/60x60.png",
  129. "settings@2x" : "unpackage/res/icons/58x58.png",
  130. "settings@3x" : "unpackage/res/icons/87x87.png",
  131. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  132. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  133. }
  134. }
  135. },
  136. "splashscreen" : {
  137. "androidStyle" : "common"
  138. }
  139. }
  140. },
  141. /* 快应用特有相关 */
  142. "quickapp" : {},
  143. /* 小程序特有相关 */
  144. "mp-weixin" : {
  145. "appid" : "wx7c160594b6ce37ec",
  146. "setting" : {
  147. "urlCheck" : false
  148. },
  149. "usingComponents" : true
  150. },
  151. "mp-alipay" : {
  152. "usingComponents" : true
  153. },
  154. "mp-baidu" : {
  155. "usingComponents" : true
  156. },
  157. "mp-toutiao" : {
  158. "usingComponents" : true
  159. },
  160. "uniStatistics" : {
  161. "enable" : false
  162. },
  163. "h5" : {
  164. "title" : "云咖交易",
  165. "domain" : "uniapp.dsmall.csdeshang.com",
  166. "router" : {
  167. "mode" : "history"
  168. },
  169. "devServer" : {
  170. "https" : false,
  171. "port" : 8000 //浏览器运行端口
  172. },
  173. // "disableHostCheck": true,
  174. // "proxy": {
  175. // "/api": {
  176. // "target": "https://pl.valimart.net",//接口请求地址
  177. // "changeOrigin": true,
  178. // "secure": false,
  179. // "pathRewrite": {
  180. // "^/api": ""
  181. // }
  182. // }
  183. // }
  184. "sdkConfigs" : {
  185. "maps" : {}
  186. }
  187. }
  188. }