react-native-echarts
react-native-echarts copied to clipboard
react-native 0.60.4 不支持 报错
Invariant Violation: Web View has been removed from React Native. It can now be installed and imported from react-native-webview instead of react-native.
项目中引入 react-native-webview
native-echarts 中的 WebView 改为从react-native-webview引入
import { WebView } from 'react-native-webview';
项目中引入 react-native-webview native-echarts 中的 WebView 改为从react-native-webview引入
import { WebView } from 'react-native-webview';
正解,原本的 webview 在 0.60 以后 被弃用了
- 在native-echarts里 npm install react-native-webview
- 所有WebView 从react-native-webview引入
- 在react native项目中uninstall 和 unlink react-native-webview
- 重新install 和 link react-native-webview 5.cd ios & pod install
the same question, has been resolved?
the same question, has been resolved?
换了也不显示,显示空白