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

Invariant Violation: Tried to register two views with the same name RNCWebView #16

Open
subira1ft opened this issue Aug 5, 2021 · 3 comments

Comments

@subira1ft
Copy link

In my app linkedin module used 'react-native-webview@7.0.5' and 'react-native-recaptchav3' used 'react-native-webview@9.4.0' i think this is the reason for this error.So kindly help how can i used this two module without getting a error

@myzaree
Copy link

myzaree commented Nov 15, 2021

I've fixed this issue by downgrading react-native-webview to 9.4.0.

@ghost
Copy link

ghost commented Apr 11, 2022

run npm ls react-native-webview. If there are multiple versions installed,
just fix them to use the same version in package-lock.json or yarn.lock.
Then remove node_modules and npm i or yarn again.

@amitmehtacode
Copy link

This issue is because this library itself has a dependency on react-native-webview version 9.0.1. I have fixed this issue by updating react-native-webview to version 11.18.1.

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

3 participants