manifest.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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" : [
  33. "<uses-feature android:name=\"android.hardware.camera\"/>",
  34. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  35. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  36. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  37. "<uses-permission android:name=\"android.permission.MEDIA_CONTENT_CONTROL\"/>",
  38. "<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>"
  39. ],
  40. "autoSdkPermissions" : false,
  41. "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
  42. "permissionExternalStorage" : {
  43. "request" : "once",
  44. "prompt" : "保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
  45. },
  46. "permissionPhoneState" : {
  47. "request" : "once",
  48. "prompt" : "为保证您正常和安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。"
  49. }
  50. },
  51. /* ios打包配置 */
  52. "ios" : {
  53. "urlschemewhitelist" : [ "baidumap", "iosamap" ],
  54. "privacyDescription" : {
  55. "NSPhotoLibraryUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
  56. "NSPhotoLibraryAddUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
  57. "NSCameraUsageDescription" : "该应用需要获取您的摄像头权限,以便支持您直接拍照上传头像、门店图片或花材图片"
  58. },
  59. "idfa" : false,
  60. "capabilities" : {
  61. "entitlements" : {
  62. "com.apple.developer.associated-domains" : [ "applinks:fronttg.wixhb.com" ]
  63. }
  64. }
  65. },
  66. /* SDK配置 */
  67. "sdkConfigs" : {
  68. "speech" : {
  69. "ifly" : {}
  70. }
  71. },
  72. "orientation" : [ "portrait-primary" ]
  73. }
  74. },
  75. /* 快应用特有相关 */
  76. "quickapp" : {},
  77. /* 小程序特有相关 线上(只管花) wxcb52034801895551 开发(花店宝) wx36ca6b1d6e9ca2a4 */
  78. "mp-weixin" : {
  79. "appid" : "wx36ca6b1d6e9ca2a4",
  80. "setting" : {
  81. "urlCheck" : false
  82. },
  83. "usingComponents" : true,
  84. "permission" : {
  85. "scope.userLocation" : {
  86. "desc" : "请点击确定"
  87. }
  88. }
  89. },
  90. "mp-alipay" : {
  91. "usingComponents" : true
  92. },
  93. "mp-baidu" : {
  94. "usingComponents" : true
  95. },
  96. "mp-toutiao" : {
  97. "usingComponents" : true
  98. },
  99. "h5" : {
  100. "template" : "template.h5.html",
  101. "router" : {
  102. // "mode" : "history",
  103. "base" : "/"
  104. },
  105. "async": {
  106. "timeout": 200000
  107. },
  108. "optimization": {
  109. "treeShaking": {
  110. "enable": true
  111. }
  112. },
  113. "devServer": {
  114. "port": 81,
  115. "proxy": {
  116. "/api": {
  117. "target": "http://api.shop.hzghd.com",
  118. "secure": false,
  119. "changeOrigin": true,
  120. "pathRewrite": {
  121. "^/api": ""
  122. }
  123. }
  124. }
  125. },
  126. "sdkConfigs" : {
  127. "maps" : {
  128. "qqmap" : {
  129. "key" : ""
  130. }
  131. }
  132. },
  133. "async" : {
  134. "timeout" : 20000
  135. }
  136. }
  137. }