We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前移动端很多浏览器并没有实现 SharedWorker 这个API(如Chrome for Android,see MDN),这会导致移动端打开网站就直接报错。
应该可以使用 https://github.com/okikio/sharedworker 之类的polyfill 解决这个问题,或者直接把旧的socket client还原回来,判断浏览器是否支持SharedWorker来选择新旧版本。
在 Chrome for Android 上打开任意页面
Chrome 123.0.6312.99 Android 11; Mi 10 Pro Build/RKQ1.200826.002
pnpm
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
目前移动端很多浏览器并没有实现 SharedWorker 这个API(如Chrome for Android,see MDN),这会导致移动端打开网站就直接报错。
应该可以使用 https://github.com/okikio/sharedworker 之类的polyfill 解决这个问题,或者直接把旧的socket client还原回来,判断浏览器是否支持SharedWorker来选择新旧版本。
Reproduction
在 Chrome for Android 上打开任意页面
System Info
Chrome 123.0.6312.99 Android 11; Mi 10 Pro Build/RKQ1.200826.002
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: