manifest.json 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name" : "",
  3. "appid" : "__UNI__EB71401",
  4. "description" : "",
  5. "versionName" : "3.5.0",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. "app-plus" : {
  9. /* 5+App特有相关 */
  10. "usingComponents" : true,
  11. "nvueCompiler" : "uni-app",
  12. "nvueStyleCompiler" : "uni-app",
  13. "splashscreen" : {
  14. "alwaysShowBeforeRender" : true,
  15. "waiting" : true,
  16. "autoclose" : true,
  17. "delay" : 0
  18. },
  19. "modules" : {},
  20. /* 模块配置 */
  21. "distribute" : {
  22. /* 应用发布信息 */
  23. "android" : {
  24. /* android打包配置 */
  25. "permissions" : [
  26. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  27. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  28. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  29. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  30. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  31. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  32. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  33. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  34. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  35. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  36. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  37. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  38. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  39. "<uses-feature android:name=\"android.hardware.camera\"/>",
  40. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  41. ]
  42. },
  43. "ios" : {},
  44. /* ios打包配置 */
  45. "sdkConfigs" : {}
  46. }
  47. },
  48. /* SDK配置 */
  49. "quickapp" : {},
  50. /* 快应用特有相关 */
  51. "mp-weixin" : {
  52. /* 小程序特有相关 */
  53. "appid" : "",
  54. "setting" : {
  55. "urlCheck" : false
  56. },
  57. "usingComponents" : true
  58. },
  59. "vueVersion" : "3",
  60. // h5特有相关
  61. "h5" : {
  62. "devServer" : {
  63. "proxy" : {
  64. "/service" : {
  65. "target" : "http://192.168.4.105", //请求的目标域名
  66. "changeOrigin" : true, //是否跨域
  67. "secure" : false
  68. }
  69. },
  70. "port" : 8081 //当前项目的端口号
  71. },
  72. "router" : {
  73. "base" : "/user/"
  74. },
  75. "optimization" : {
  76. "treeShaking" : {
  77. "enable" : true
  78. }
  79. }
  80. }
  81. }