manifest.json 5.1 KB

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