You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, i get this error message when trying to use react-native-rave-webview in my expo project.
Invariant Violation: WebView has been removed from React Native. It can now be installed and imported from 'react-native-webview' instead of 'react-native'. See https://github.com/react-native-community/react-native-webview
I even installed webview expo install react-native-webview . But it will still giving me the same error above.
I see the error in your code.
import {WebView, Modal, Text, View, TouchableOpacity, ActivityIndicator} from 'react-native';
Webview has been removed from react native into its own repo.
Please update your code to import { WebView } from 'react-native-webview';
The text was updated successfully, but these errors were encountered:
Hy!
For some reason, i get this error message when trying to use react-native-rave-webview in my expo project.
Invariant Violation: WebView has been removed from React Native. It can now be installed and imported from 'react-native-webview' instead of 'react-native'. See https://github.com/react-native-community/react-native-webview
I even installed webview
expo install react-native-webview
. But it will still giving me the same error above.I see the error in your code.
import {WebView, Modal, Text, View, TouchableOpacity, ActivityIndicator} from 'react-native';
Webview has been removed from react native into its own repo.
Please update your code to
import { WebView } from 'react-native-webview';
The text was updated successfully, but these errors were encountered: