manifest.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. {
  2. "name" : "Icoco",
  3. "appid" : "__UNI__1B420CB",
  4. "description" : "",
  5. "versionName" : "1.0.24",
  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. "baidu" : {
  65. "appkey_ios" : "",
  66. "appkey_android" : ""
  67. }
  68. },
  69. "geolocation" : {},
  70. "oauth" : {
  71. "univerify" : {},
  72. "apple" : {}
  73. }
  74. },
  75. "icons" : {
  76. "android" : {
  77. "hdpi" : "unpackage/res/icons/72x72.png",
  78. "xhdpi" : "unpackage/res/icons/96x96.png",
  79. "xxhdpi" : "unpackage/res/icons/144x144.png",
  80. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  81. },
  82. "ios" : {
  83. "appstore" : "unpackage/res/icons/1024x1024.png",
  84. "ipad" : {
  85. "app" : "unpackage/res/icons/76x76.png",
  86. "app@2x" : "unpackage/res/icons/152x152.png",
  87. "notification" : "unpackage/res/icons/20x20.png",
  88. "notification@2x" : "unpackage/res/icons/40x40.png",
  89. "proapp@2x" : "unpackage/res/icons/167x167.png",
  90. "settings" : "unpackage/res/icons/29x29.png",
  91. "settings@2x" : "unpackage/res/icons/58x58.png",
  92. "spotlight" : "unpackage/res/icons/40x40.png",
  93. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  94. },
  95. "iphone" : {
  96. "app@2x" : "unpackage/res/icons/120x120.png",
  97. "app@3x" : "unpackage/res/icons/180x180.png",
  98. "notification@2x" : "unpackage/res/icons/40x40.png",
  99. "notification@3x" : "unpackage/res/icons/60x60.png",
  100. "settings@2x" : "unpackage/res/icons/58x58.png",
  101. "settings@3x" : "unpackage/res/icons/87x87.png",
  102. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  103. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  104. }
  105. }
  106. }
  107. }
  108. },
  109. /* 快应用特有相关 */
  110. "quickapp" : {},
  111. /* 小程序特有相关 */
  112. "mp-weixin" : {
  113. "appid" : "wxe041e2fba8e6599f",
  114. "setting" : {
  115. "urlCheck" : false,
  116. "minified" : true
  117. },
  118. "usingComponents" : true
  119. },
  120. "mp-alipay" : {
  121. "usingComponents" : true
  122. },
  123. "mp-baidu" : {
  124. "usingComponents" : true
  125. },
  126. "mp-toutiao" : {
  127. "usingComponents" : true
  128. },
  129. "uniStatistics" : {
  130. "enable" : false
  131. },
  132. "vueVersion" : "2",
  133. "h5" : {
  134. "devServer" : {
  135. "https" : false,
  136. "proxy" : {
  137. "/admin" : {
  138. "target" : "https://icoco.tech/",
  139. "changeOrigin" : true,
  140. "secure" : false
  141. },
  142. "/auth" : {
  143. "target" : "https://icoco.tech/",
  144. "changeOrigin" : true,
  145. "secure" : false
  146. }
  147. }
  148. },
  149. "sdkConfigs" : {
  150. "maps" : {
  151. "amap" : {
  152. "key" : "40bff53b893ac5ccb05e3f018f7315f7",
  153. "securityJsCode" : "1bb5f515ea82f48a6b3ea37a3f88fa21",
  154. "serviceHost" : ""
  155. }
  156. }
  157. }
  158. }
  159. }