manifest.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. "name" : "STAR",
  3. "appid" : "__UNI__0A11003",
  4. "description" : "",
  5. "versionName" : "1.2.4",
  6. "versionCode" : 124,
  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. /* 模块配置 */
  19. "distribute" : {
  20. /* 应用发布信息 */
  21. "android" : {
  22. /* android打包配置 */
  23. "permissions" : [
  24. "<uses-feature android:name=\"android.hardware.camera\"/>",
  25. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  26. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  27. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  28. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  29. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  30. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  31. "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
  32. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  33. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  34. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  35. "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>"
  36. ],
  37. "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
  38. "schemes" : "yzhifu,yzf",
  39. "minSdkVersion" : 29,
  40. "targetSdkVersion" : 30
  41. },
  42. "ios" : {
  43. "idfa" : false,
  44. "dSYMs" : false
  45. },
  46. /* ios打包配置 */
  47. "sdkConfigs" : {
  48. "maps" : {},
  49. "oauth" : {
  50. "weixin" : {
  51. "appid" : "",
  52. "appsecret" : "",
  53. "UniversalLinks" : ""
  54. }
  55. },
  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. }
  91. },
  92. /* SDK配置 */
  93. "quickapp" : {},
  94. /* 快应用特有相关 */
  95. "mp-weixin" : {
  96. /* 小程序特有相关 */
  97. "usingComponents" : true,
  98. "appid" : "",
  99. "setting" : {
  100. "urlCheck" : true,
  101. "minified" : true
  102. }
  103. },
  104. "h5" : {
  105. "title" : "STAR",
  106. "domain" : "",
  107. "router" : {
  108. "base" : "/index/",
  109. "mode" : "hash"
  110. },
  111. "devServer" : {
  112. "proxy" : {
  113. "/api" : {
  114. "target" : "http://www.polkep.xyz"
  115. }
  116. }
  117. },
  118. "template" : "index.html"
  119. }
  120. }