Google Chrome 上的 React Kiosk 应用程序在多点触控输入时崩溃
我们有一个 Kiosk 应用程序(用 React 编写),它可以在大约 800 台设备上运行。所有设备都是 Windows 设备,对于其中一些设备(约 5%),当没有技术素养的用户使用多个手指(假设他尝试输入客户号码,但使用三个手指而不是一根手指)时,应用程序在某一点后崩溃(Google Chrome 没有响应错误)。
我不知道为什么,但是当我尝试使用 localhost:9222 作为 Chrome DevTools 输出在实时环境中调试应用程序时,我可能会在滚动并单击应用程序时引发一些错误,但我无法远程创建用户输入,因为我我使用鼠标,而不是触摸屏。而且我无法在设备上进行调试。
有人知道出了什么问题吗?我怎样才能阻止崩溃?
到目前为止我尝试做的事情;
- 尝试启用崩溃日志,无法将其记录到文件中,以便我可以检查它,没有记录任何内容
- 尝试创建 chrome 控制台日志文件,但此处也没有显示任何内容
- 尝试将屏幕输入类型从触摸更改为鼠标单击,没有修复它
- 尝试使用Chrome命令行开关,例如disable-pinch和enable-crash-reporter,但它们似乎都没有给我任何信息或解决问题
有任何提示吗?
We have a Kiosk App (written in React) and it is working on ~800 devices. All of the devices are Windows devices and for some of them (about 5%), when a user without tech literacy uses more than one finger (lets say he tries to input his customer number but with using three fingers instead of one) the app crashes after a point (Google Chrome is not responding error).
I do not know why, but when I tried to debug the app on live environment using localhost:9222 as my Chrome DevTools output, I could raise some errors while scrolling and clicking the app, but I cannot create the user input remotely, because I am using a mouse, not a touch screen. And I cannot debug on the devices.
Does anybody have an idea on what is wrong? And how can I stop the crashes?
What I tried to do so far;
- Tried to enable Crash Logs, couldn't make it log to a file so I can inspect it, nothing gets logged
- Tried to create a chrome console log file, but nothing is shown here too
- Tried to change screen input type from touch to mouse click, didn't fix it
- Tried to use Chrome Command Line Switches such as disable-pinch and enable-crash-reporter but none of them seem to give me any info or fix the problem
Any tips?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论