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

react-native 0.60.4 不支持 报错 #165

Open
Diamondjcx opened this issue Jul 27, 2019 · 6 comments
Open

react-native 0.60.4 不支持 报错 #165

Diamondjcx opened this issue Jul 27, 2019 · 6 comments

Comments

@Diamondjcx
Copy link

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.

@Lunziyuan
Copy link

Lunziyuan commented Jul 29, 2019

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

@liberalisman
Copy link

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

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

@chloeQ96
Copy link

  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

@jessietang
Copy link

the same question, has been resolved?

1 similar comment
@nur001
Copy link

nur001 commented Jan 8, 2021

the same question, has been resolved?

@onion124567
Copy link

换了也不显示,显示空白

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

7 participants