vConsole icon indicating copy to clipboard operation
vConsole copied to clipboard

安卓 5.1 支持

Open Elric-pp opened this issue 2 years ago • 5 comments

vConsole Version: 3.14.7 测试机型:金立E8,理论上所有安卓 5.1 都不可用

当前版本存在两个问题导致在安卓 5.1 版本 vconsole 无法正常工作,想确定一下重构之后已经不准备支持安卓 5.1 了么?

  1. js 报错
  2. css 通过变量赋值,导致样式不生效(可以通过 postcss-css-variables 注入解决)

虽然安卓 5.1 已经占有率非常少,但是有些场景还是需要支持,作为一个 debug 工具,有这块的兼容计划吗

Elric-pp avatar Oct 10 '22 11:10 Elric-pp

能支持es5的最高版本是哪个呢,看changelog是3.8.0? @Maizify

sbyps avatar Oct 11 '22 09:10 sbyps

@Elric-pp @sbyps 能拿到报错信息吗?

Maizify avatar Oct 19 '22 08:10 Maizify

@Maizify 就是最新版本中有es6和proxy语法,我看最新版本肯定是不支持es5了,想知道一个能支持es5和非proxy的最低版本

sbyps avatar Oct 19 '22 08:10 sbyps

理论上从v3.10.0开始就开始有比较大的改动了,可能会影响到兼容性。可以从v3.9.5和v3.8.1开始试下。

Maizify avatar Oct 19 '22 08:10 Maizify

v3.8.1 - v3.6.0 中没有proxy代码,但是在IE11会报错 throw TypeError("Incompatible receiver, "+e+" required"),是symbol的报错;所以也不能用;想用一个能适配webpack5的版本就没有了

sbyps avatar Oct 19 '22 12:10 sbyps