manifest.json 5.0 KB

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