manifest.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name" : "hand-in-hand-panda",
  3. "appid" : "__UNI__920E848",
  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. "OAuth" : {}
  22. },
  23. /* 应用发布信息 */
  24. "distribute" : {
  25. /* android打包配置 */
  26. "android" : {
  27. "permissions" : [
  28. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  29. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  30. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  31. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  32. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  33. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  34. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  35. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  36. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  37. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  38. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  39. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  40. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  41. "<uses-feature android:name=\"android.hardware.camera\"/>",
  42. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  43. ]
  44. },
  45. /* ios打包配置 */
  46. "ios" : {},
  47. /* SDK配置 */
  48. "sdkConfigs" : {
  49. "oauth" : {
  50. "weixin" : {
  51. "appid" : "",
  52. "appsecret" : "",
  53. "UniversalLinks" : ""
  54. }
  55. }
  56. }
  57. }
  58. },
  59. /* 快应用特有相关 */
  60. "quickapp" : {},
  61. /* 小程序特有相关 */
  62. "mp-weixin" : {
  63. "appid" : "",
  64. "setting" : {
  65. "urlCheck" : false
  66. },
  67. "usingComponents" : true
  68. },
  69. "mp-alipay" : {
  70. "usingComponents" : true
  71. },
  72. "mp-baidu" : {
  73. "usingComponents" : true
  74. },
  75. "mp-toutiao" : {
  76. "usingComponents" : true
  77. },
  78. "uniStatistics" : {
  79. "enable" : false
  80. },
  81. "vueVersion" : "2",
  82. /* 开发环境web跨域 */
  83. "h5" : {
  84. "devServer" : {
  85. "port" : 8099,
  86. "disableHostCheck" : true,
  87. "proxy" : {
  88. "/api" : {
  89. "target" : "http://ddsc.hdlkeji.com",
  90. "changeOrigin" : true,
  91. "secure" : true,
  92. "pathRewrite" : {
  93. "^/api" : "/api"
  94. }
  95. }
  96. }
  97. }
  98. }
  99. }