manifest.json 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name" : "sws",
  3. "appid" : "__UNI__7D5316C",
  4. "description" : "",
  5. "versionName" : "1.0.0",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. /* 5+App特有相关 */
  9. "app-plus" : {
  10. "usingComponents" : true,
  11. "nvueStyleCompiler" : "uni-app",
  12. "compilerVersion" : 3,
  13. "splashscreen" : {
  14. "alwaysShowBeforeRender" : true,
  15. "waiting" : true,
  16. "autoclose" : true,
  17. "delay" : 0
  18. },
  19. /* 模块配置 */
  20. "modules" : {},
  21. /* 应用发布信息 */
  22. "distribute" : {
  23. /* android打包配置 */
  24. "android" : {
  25. "permissions" : [
  26. "<uses-feature android:name=\"android.hardware.camera\"/>",
  27. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  28. "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
  29. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  30. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  31. "<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
  32. "<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>",
  33. "<uses-permission android:name=\"android.permission.BLUETOOTH_PRIVILEGED\"/>",
  34. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  35. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  36. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  37. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  38. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  39. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  40. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  41. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  42. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  43. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  44. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  45. ]
  46. },
  47. /* ios打包配置 */
  48. "ios" : {},
  49. /* SDK配置 */
  50. "sdkConfigs" : {
  51. "oauth" : {}
  52. }
  53. }
  54. },
  55. /* 快应用特有相关 */
  56. "quickapp" : {},
  57. /* 小程序特有相关 */
  58. "mp-weixin" : {
  59. "appid" : "wxcdf53b48b7df107e",
  60. "setting" : {
  61. "urlCheck" : true,
  62. "es6" : true,
  63. "postcss" : true,
  64. "minified" : true
  65. },
  66. "optimization" : {
  67. "subPackages" : true
  68. },
  69. "usingComponents" : true,
  70. "permission" : {},
  71. "cloudfunctionRoot" : "cloudfunctions/", // 配置云开发目录
  72. "lazyCodeLoading" : "requiredComponents"
  73. },
  74. "mp-alipay" : {
  75. "usingComponents" : true
  76. },
  77. "mp-baidu" : {
  78. "usingComponents" : true
  79. },
  80. "mp-toutiao" : {
  81. "usingComponents" : true
  82. },
  83. "uniStatistics" : {
  84. "enable" : false
  85. }
  86. }