manifest.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. {
  2. "name" : "样叽v2.1",
  3. "appid" : "__UNI__FD8067C",
  4. "description" : "",
  5. "versionName" : "1.0.0",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. // "h5" : {
  9. // "devServer" : {
  10. // "proxy" : {
  11. // "/api" : {
  12. // "target" : "http://localhost:8888/uni_web",
  13. // "changeOrigin" : true,
  14. // "secure" : false,
  15. // "pathRewrite" : {
  16. // "^/api" : "http://192.168.0.107:8199" // 设置/api路径重定向,重点!!!
  17. // }
  18. // }
  19. // }
  20. // }
  21. // },
  22. "app-plus" : {
  23. "compatible" : {
  24. "ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
  25. },
  26. /* 5+App特有相关 */
  27. "usingComponents" : true,
  28. "nvueCompiler" : "uni-app",
  29. "splashscreen" : {
  30. "alwaysShowBeforeRender" : true,
  31. "waiting" : true,
  32. "autoclose" : true,
  33. "delay" : 0
  34. },
  35. "modules" : {
  36. "VideoPlayer" : {}
  37. },
  38. /* 模块配置 */
  39. "distribute" : {
  40. /* 应用发布信息 */
  41. "android" : {
  42. /* android打包配置 */
  43. "permissions" : [
  44. "<uses-feature android:name=\"android.hardware.camera\"/>",
  45. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  46. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  47. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  48. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  49. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  50. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  51. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  52. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  53. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  54. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  55. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  56. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  57. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  58. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  59. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  60. ]
  61. },
  62. "ios" : {},
  63. /* ios打包配置 */
  64. "sdkConfigs" : {
  65. "ad" : {},
  66. "push" : {},
  67. "payment" : {
  68. "weixin" : {
  69. "__platform__" : [ "ios", "android" ],
  70. "appid" : "wxac396a3be7a16844",
  71. "UniversalLinks" : ""
  72. }
  73. },
  74. "share" : {
  75. "weixin" : {
  76. "appid" : "wxac396a3be7a16844",
  77. "UniversalLinks" : ""
  78. }
  79. }
  80. },
  81. "icons" : {
  82. "android" : {
  83. "hdpi" : "unpackage/res/icons/72x72.png",
  84. "xhdpi" : "unpackage/res/icons/96x96.png",
  85. "xxhdpi" : "unpackage/res/icons/144x144.png",
  86. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  87. },
  88. "ios" : {
  89. "appstore" : "unpackage/res/icons/1024x1024.png",
  90. "ipad" : {
  91. "app" : "unpackage/res/icons/76x76.png",
  92. "app@2x" : "unpackage/res/icons/152x152.png",
  93. "notification" : "unpackage/res/icons/20x20.png",
  94. "notification@2x" : "unpackage/res/icons/40x40.png",
  95. "proapp@2x" : "unpackage/res/icons/167x167.png",
  96. "settings" : "unpackage/res/icons/29x29.png",
  97. "settings@2x" : "unpackage/res/icons/58x58.png",
  98. "spotlight" : "unpackage/res/icons/40x40.png",
  99. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  100. },
  101. "iphone" : {
  102. "app@2x" : "unpackage/res/icons/120x120.png",
  103. "app@3x" : "unpackage/res/icons/180x180.png",
  104. "notification@2x" : "unpackage/res/icons/40x40.png",
  105. "notification@3x" : "unpackage/res/icons/60x60.png",
  106. "settings@2x" : "unpackage/res/icons/58x58.png",
  107. "settings@3x" : "unpackage/res/icons/87x87.png",
  108. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  109. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  110. }
  111. }
  112. }
  113. }
  114. },
  115. /* SDK配置 */
  116. "quickapp" : {},
  117. /* 快应用特有相关 */
  118. "mp-weixin" : {
  119. "appid" : "wxac396a3be7a16844",
  120. "setting" : {
  121. "urlCheck" : false,
  122. "postcss" : true,
  123. "minified" : true,
  124. "es6" : false
  125. },
  126. "usingComponents" : true,
  127. "permission" : {},
  128. "optimization" : {
  129. "subPackages" : true
  130. },
  131. "requiredPrivateInfos" : [
  132. "getLocation",
  133. "onLocationChange",
  134. "startLocationUpdateBackground",
  135. "chooseAddress"
  136. ]
  137. },
  138. "vueVersion" : "2"
  139. }