Skip to content
New issue

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

ios上渲染不出来报错:Webview Process Terminated #38

Closed
fairySusan opened this issue Mar 29, 2022 · 7 comments
Closed

ios上渲染不出来报错:Webview Process Terminated #38

fairySusan opened this issue Mar 29, 2022 · 7 comments

Comments

@fairySusan
Copy link

ios上渲染不出来报错:Webview Process Terminated

@fairySusan
Copy link
Author

fairySusan commented Mar 29, 2022

在android上是正常的,但是
1.ios上渲染不出来报错:Webview Process Terminated
2.ios上setNewOption不起作用

@supervons
Copy link
Owner

请提供一下必要的环境信息:

可以参考: #6

@fairySusan
Copy link
Author

我调了一下,在ipad上这行代码的结果是false
在renderChart.js文件里 let isiOS = !!u.match(/\\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
所以在ipad上setNewOption()不起作用

react-native-echarts-pro 版本是1.8.2

机子:ipad(第五代)ios 15.0

@supervons
Copy link
Owner

supervons commented Mar 29, 2022

  1. 使用 iPad Air 模拟器,isiOS 可正常获取为 true,下面是 navigator.userAgent 信息:

image

模拟器信息:

image

能否使用 iPAD(第五代)截取一下 navigator.userAgent 中的信息,以便兼容 setNewOption

  1. Webview Process Terminated 针对这个问题,能否看下该设备上,使用 WebView 能否正常加载网页呢?

@fairySusan
Copy link
Author

@supervons
Mozilla/5.0 (Macintosh; Intel Mac OS X
10_15_6) AppleWebKit/605.1.15
(KHTML, like Gecko)

  1. 解决了第一个问题后,第二个问题也没有了

@supervons
Copy link
Owner

试一下我这次提交,用 native 的方式判断系统:a045cf0

本周内将会发布新版本。

@supervons
Copy link
Owner

@fairySusan

1.8.3 已发布:

 npm install react-native-echarts-pro@1.8.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants