react-native-echarts icon indicating copy to clipboard operation
react-native-echarts copied to clipboard

react-native 0.60.4 不支持 报错

Open Diamondjcx opened this issue 5 years ago • 6 comments

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.

Diamondjcx avatar Jul 27 '19 08:07 Diamondjcx

项目中引入 react-native-webview native-echarts 中的 WebView 改为从react-native-webview引入 import { WebView } from 'react-native-webview';

Lunziyuan avatar Jul 29 '19 06:07 Lunziyuan

项目中引入 react-native-webview native-echarts 中的 WebView 改为从react-native-webview引入 import { WebView } from 'react-native-webview';

正解,原本的 webview 在 0.60 以后 被弃用了

liberalisman avatar Aug 06 '19 09:08 liberalisman

  1. 在native-echarts里 npm install react-native-webview
  2. 所有WebView 从react-native-webview引入
  3. 在react native项目中uninstall 和 unlink react-native-webview
  4. 重新install 和 link react-native-webview 5.cd ios & pod install

chloeQ96 avatar Feb 12 '20 20:02 chloeQ96

the same question, has been resolved?

jessietang avatar May 12 '20 08:05 jessietang

the same question, has been resolved?

nur001 avatar Jan 08 '21 10:01 nur001

换了也不显示,显示空白

onion124567 avatar Nov 30 '21 07:11 onion124567