manifest.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "name" : "昆明供应商",
  3. "appid" : "",
  4. "description" : "应用描述",
  5. "versionName" : "1.0.0",
  6. "versionCode" : "100",
  7. "transformPx" : true,
  8. /* 5+App特有相关 */
  9. "app-plus" : {
  10. "usingComponents" : true,
  11. "nvueCompiler" : "uni-app",
  12. "compilerVersion" : 3,
  13. "nvueLaunchMode" : "fast",
  14. "splashscreen" : {
  15. "alwaysShowBeforeRender" : true,
  16. "waiting" : true,
  17. "autoclose" : true,
  18. "delay" : 0
  19. },
  20. "modules" : {
  21. "VideoPlayer" : {},
  22. "Bluetooth" : {},
  23. "Geolocation" : {},
  24. "Push" : {},
  25. "OAuth" : {},
  26. "Share" : {}
  27. },
  28. /* 应用发布信息 */
  29. "distribute" : {
  30. /* android打包配置 */
  31. "android" : {
  32. "permissions" : [ "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>" ],
  33. "autoSdkPermissions" : false,
  34. "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
  35. "permissionExternalStorage" : {
  36. "request" : "none",
  37. "prompt" : "保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
  38. },
  39. "permissionPhoneState" : {
  40. "request" : "none",
  41. "prompt" : "为保证您正常和安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。"
  42. }
  43. },
  44. /* ios打包配置 */
  45. "ios" : {
  46. "urlschemewhitelist" : [ "baidumap", "iosamap" ],
  47. "privacyDescription" : {
  48. "NSPhotoLibraryUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
  49. "NSPhotoLibraryAddUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
  50. "NSCameraUsageDescription" : "该应用需要获取您的摄像头权限,以便支持您直接拍照上传头像、门店图片或花材图片"
  51. },
  52. "idfa" : false,
  53. "capabilities" : {
  54. "entitlements" : {
  55. "com.apple.developer.associated-domains" : [ "applinks:fronttg.wixhb.com" ]
  56. }
  57. }
  58. },
  59. /* SDK配置 */
  60. "sdkConfigs" : {
  61. "speech" : {
  62. "ifly" : {}
  63. }
  64. },
  65. "orientation" : [ "portrait-primary" ]
  66. }
  67. },
  68. /* 快应用特有相关 */
  69. "quickapp" : {},
  70. /* 小程序特有相关 线上(只管花) wxcb52034801895551 开发(花店宝) wx36ca6b1d6e9ca2a4 */
  71. "mp-weixin" : {
  72. "appid" : "wx36ca6b1d6e9ca2a4",
  73. "setting" : {
  74. "urlCheck" : false
  75. },
  76. "usingComponents" : true,
  77. "permission" : {
  78. "scope.userLocation" : {
  79. "desc" : "请点击确定"
  80. }
  81. }
  82. },
  83. "mp-alipay" : {
  84. "usingComponents" : true
  85. },
  86. "mp-baidu" : {
  87. "usingComponents" : true
  88. },
  89. "mp-toutiao" : {
  90. "usingComponents" : true
  91. },
  92. "h5" : {
  93. "template" : "template.h5.html",
  94. "router" : {
  95. // "mode" : "history",
  96. "base" : "/"
  97. },
  98. "async": {
  99. "timeout": 200000
  100. },
  101. "optimization": {
  102. "treeShaking": {
  103. "enable": true
  104. }
  105. },
  106. "devServer": {
  107. "port": 81,
  108. "proxy": {
  109. "/api": {
  110. "target": "http://api.shop.hzghd.com",
  111. "secure": false,
  112. "changeOrigin": true,
  113. "pathRewrite": {
  114. "^/api": ""
  115. }
  116. }
  117. }
  118. },
  119. "sdkConfigs" : {
  120. "maps" : {
  121. "qqmap" : {
  122. "key" : ""
  123. }
  124. }
  125. },
  126. "async" : {
  127. "timeout" : 20000
  128. }
  129. }
  130. }