react-native-webview: requireNativeComponent: "RNCWebView" was not found in the UIManager
"react": "16.8.6",
"react-native": "0.60.5",
"react-native-webview": "^7.0.4"
After the problem, I tried manual link, but the problem remains.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 12
- Comments: 25
I had the same issue. Try
react-native link
and thencd ios
andpod install
in the ios folder. It has resolved this problem for me.The same problem persists with Expo SDK 35 also.
And with Expo manual linking is also not an option.
Any suggestions?
I have this same problem with android on linux
For RN 0.60 and higher add to podfile
pod 'react-native-webview', :path => '../node_modules/react-native-webview'
Thencd ios
pod install
First, uninstall react-native-webview package then try to install with npm install --save react-native-webview
For those who did not solve the issue with the latest RN. Open the workspace file in Xcode and at Build Phases add libreact-native-webview.a
Note: I am using Wix react-native-navigation 3.2. I have found this comment that states RNN v3 breaks auto linking: https://github.com/wix/react-native-navigation/issues/5572#issuecomment-541409925.
Can that be the reason? Anyway, I have also followed the docs and run
react-native link react-native-webview
but nothing has changed so far.Im using expo and cant eject. Also getting this error. “react-native”: “https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz”,
for me it was the lib version:
"react-native-webview": "^11.17.2"
--> works"react-native-webview": "^11.18.0"
--> doesn’t workso from my point of view it i linked to this lib…so I don’t know how this issue can be closed…
That was it! The comment https://github.com/wix/react-native-navigation/issues/5572#issuecomment-541519364 contains a workaround.
@JySa65 if you are using Wix RNN v3 you will find the workaround useful