manifest.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name" : "magazine-web",
  3. "appid" : "",
  4. "description": "",
  5. "versionName": "1.0.0",
  6. "versionCode": "100",
  7. "transformPx": false,
  8. "h5": {
  9. "devServer": {
  10. "disableHostCheck": true,
  11. "proxy": {
  12. "/api/": {
  13. // target: 'http://192.168.0.45:18090'
  14. "target": "http://192.168.3.45:18090",
  15. "secure": false,
  16. "changeOrigin": true
  17. }
  18. }
  19. }
  20. },
  21. "app-plus": { /* 5+App特有相关 */
  22. "usingComponents": true,
  23. "nvueCompiler": "uni-app",
  24. "splashscreen": {
  25. "alwaysShowBeforeRender": true,
  26. "waiting": true,
  27. "autoclose": true,
  28. "delay": 0
  29. },
  30. "modules": { /* 模块配置 */
  31. },
  32. "distribute": { /* 应用发布信息 */
  33. "android": { /* android打包配置 */
  34. "permissions": [
  35. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  36. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  37. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  38. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  39. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  40. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  41. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  42. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  43. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  44. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  45. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  46. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  47. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  48. "<uses-feature android:name=\"android.hardware.camera\"/>",
  49. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  50. ]
  51. },
  52. "ios": { /* ios打包配置 */
  53. },
  54. "sdkConfigs": { /* SDK配置 */
  55. }
  56. }
  57. },
  58. "quickapp": { /* 快应用特有相关 */
  59. },
  60. "mp-weixin": { /* 小程序特有相关 */
  61. "appid": "",
  62. "setting": {
  63. "urlCheck": false
  64. },
  65. "usingComponents": true
  66. }
  67. }