manifest.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. {
  2. "name" : "聚贤德商城",
  3. "appid" : "__UNI__B08A1BE",
  4. "description" : "聚贤德商城",
  5. "versionName" : "1.3.3",
  6. "versionCode" : 133,
  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. "Barcode" : {},
  19. "Camera" : {},
  20. "VideoPlayer" : {},
  21. "Payment" : {}
  22. },
  23. /* 模块配置 */
  24. "distribute" : {
  25. /* 应用发布信息 */
  26. "android" : {
  27. /* android打包配置 */
  28. "permissions" : [
  29. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  30. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  31. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  32. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  33. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  34. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>"
  35. ],
  36. "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
  37. "targetSdkVersion" : 30
  38. },
  39. "ios" : {
  40. "idfa" : false,
  41. "privacyDescription" : {
  42. "NSPhotoLibraryUsageDescription" : "该应用需要读取你的相册,以便为你编辑用户信息",
  43. "NSPhotoLibraryAddUsageDescription" : "该应用需要读取你的相册,以便为你编辑用户信息",
  44. "NSCameraUsageDescription" : "该应用需要读取你的相册,以便为你编辑用户信息"
  45. },
  46. "dSYMs" : false
  47. },
  48. /* ios打包配置 */
  49. "sdkConfigs" : {
  50. "maps" : {},
  51. "oauth" : {},
  52. "geolocation" : {},
  53. "payment" : {
  54. "alipay" : {
  55. "__platform__" : [ "android" ]
  56. }
  57. },
  58. "push" : {},
  59. "share" : {},
  60. "speech" : {},
  61. "statics" : {},
  62. "ad" : {
  63. "gdt" : {},
  64. "ks" : {},
  65. "sigmob" : {},
  66. "hw" : {},
  67. "bd" : {}
  68. }
  69. },
  70. "icons" : {
  71. "android" : {
  72. "hdpi" : "unpackage/res/icons/72x72.png",
  73. "xhdpi" : "unpackage/res/icons/96x96.png",
  74. "xxhdpi" : "unpackage/res/icons/144x144.png",
  75. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  76. },
  77. "ios" : {
  78. "appstore" : "unpackage/res/icons/1024x1024.png",
  79. "ipad" : {
  80. "app" : "unpackage/res/icons/76x76.png",
  81. "app@2x" : "unpackage/res/icons/152x152.png",
  82. "notification" : "unpackage/res/icons/20x20.png",
  83. "notification@2x" : "unpackage/res/icons/40x40.png",
  84. "proapp@2x" : "unpackage/res/icons/167x167.png",
  85. "settings" : "unpackage/res/icons/29x29.png",
  86. "settings@2x" : "unpackage/res/icons/58x58.png",
  87. "spotlight" : "unpackage/res/icons/40x40.png",
  88. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  89. },
  90. "iphone" : {
  91. "app@2x" : "unpackage/res/icons/120x120.png",
  92. "app@3x" : "unpackage/res/icons/180x180.png",
  93. "notification@2x" : "unpackage/res/icons/40x40.png",
  94. "notification@3x" : "unpackage/res/icons/60x60.png",
  95. "settings@2x" : "unpackage/res/icons/58x58.png",
  96. "settings@3x" : "unpackage/res/icons/87x87.png",
  97. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  98. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  99. }
  100. }
  101. },
  102. "splashscreen" : {
  103. "useOriginalMsgbox" : true
  104. }
  105. }
  106. },
  107. /* SDK配置 */
  108. "quickapp" : {},
  109. /* 快应用特有相关 */
  110. "mp-weixin" : {
  111. /* 小程序特有相关 */
  112. "usingComponents" : true,
  113. "appid" : "",
  114. "setting" : {
  115. "urlCheck" : true,
  116. "minified" : true
  117. }
  118. },
  119. "h5" : {
  120. "title" : "聚贤德商城",
  121. "domain" : "",
  122. "router" : {
  123. "base" : "/index/",
  124. "mode" : "hash"
  125. },
  126. "devServer" : {
  127. "proxy" : {
  128. "/api" : {
  129. "target" : "https://yunhai.qiniu1314.com/api",
  130. // "target" : "http://7131.frp.qiniu1314.com/api",
  131. // "changeOrigin": true,
  132. "pathRewrite" : {
  133. "/api" : "" // rewrite path
  134. }
  135. }
  136. },
  137. "https" : false
  138. }
  139. }
  140. }