manifest.json 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. {
  2. "name" : "Icoco",
  3. "appid" : "__UNI__1B420CB",
  4. "description" : "",
  5. "versionName" : "1.0.21",
  6. "versionCode" : 101,
  7. "transformPx" : false,
  8. /* 5+App特有相关 */
  9. "app-plus" : {
  10. "usingComponents" : true,
  11. "nvueStyleCompiler" : "Icoco",
  12. "compilerVersion" : 3,
  13. "splashscreen" : {
  14. "alwaysShowBeforeRender" : true,
  15. "waiting" : true,
  16. "autoclose" : true,
  17. "delay" : 0
  18. },
  19. /* 模块配置 */
  20. "modules" : {
  21. "Camera" : {},
  22. "Barcode" : {},
  23. "VideoPlayer" : {},
  24. "OAuth" : {}
  25. },
  26. /* 应用发布信息 */
  27. "distribute" : {
  28. /* android打包配置 */
  29. "android" : {
  30. "permissions" : [
  31. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  32. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  33. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  34. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  35. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  36. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  37. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  38. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  39. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  40. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  41. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  42. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  43. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  44. "<uses-feature android:name=\"android.hardware.camera\"/>",
  45. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  46. ],
  47. "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
  48. },
  49. /* ios打包配置 */
  50. "ios" : {
  51. "dSYMs" : false,
  52. "privacyDescription" : {
  53. "NSPhotoLibraryUsageDescription" : "上传照片",
  54. "NSPhotoLibraryAddUsageDescription" : "保存海报",
  55. "NSCameraUsageDescription" : "拍照",
  56. "NSMicrophoneUsageDescription" : "发送语音",
  57. "NSLocationWhenInUseUsageDescription" : "获取当前位置信息"
  58. }
  59. },
  60. /* SDK配置 */
  61. "sdkConfigs" : {
  62. "ad" : {},
  63. "maps" : {},
  64. "geolocation" : {},
  65. "oauth" : {
  66. "univerify" : {},
  67. "apple" : {}
  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. }
  103. },
  104. /* 快应用特有相关 */
  105. "quickapp" : {},
  106. /* 小程序特有相关 */
  107. "mp-weixin" : {
  108. "appid" : "wxe041e2fba8e6599f",
  109. "setting" : {
  110. "urlCheck" : false,
  111. "minified" : true
  112. },
  113. "usingComponents" : true
  114. },
  115. "mp-alipay" : {
  116. "usingComponents" : true
  117. },
  118. "mp-baidu" : {
  119. "usingComponents" : true
  120. },
  121. "mp-toutiao" : {
  122. "usingComponents" : true
  123. },
  124. "uniStatistics" : {
  125. "enable" : false
  126. },
  127. "vueVersion" : "2",
  128. "h5" : {
  129. "devServer" : {
  130. "https" : false,
  131. "proxy" : {
  132. "/utility" : {
  133. "target" : "https://icoco.tech/admin",
  134. "changeOrigin" : true,
  135. "secure" : false,
  136. "pathRewrite" : {
  137. "^/utility" : "utility"
  138. }
  139. },
  140. "/auth" : {
  141. "target" : "https://icoco.tech/",
  142. "changeOrigin" : true,
  143. "secure" : false,
  144. "pathRewrite" : {
  145. "^/auth" : "auth"
  146. }
  147. }
  148. }
  149. }
  150. }
  151. }