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

Webview Issue with react-native-rave-webview #13

Open
legaciespanda opened this issue Jan 22, 2021 · 1 comment
Open

Webview Issue with react-native-rave-webview #13

legaciespanda opened this issue Jan 22, 2021 · 1 comment

Comments

@legaciespanda
Copy link

legaciespanda commented Jan 22, 2021

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';

@ikeliec
Copy link

ikeliec commented May 31, 2021

@just1and0 @mosoakinyemi Please merge this PR to fix this issue https://github.com/react-native-nigeria-community/react-native-rave-webview/pull/12

You can also just update the code on 9 - 10. Thanks.

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