Android: RNCWebView error message
See original GitHub issueWhen I navigate to the component, that uses Canvas I get the following error message:
Invariant Violation: requireNativeComponent: “RNCWebView” was not found in the UIManager. This error is located at: in RNCWebView (at WebView.android.js:215) in RCTView (at View.js:45) in View (at WebView.android.js:218) in WebView (at Canvas.js:129) in RCTView (at View.js:45) in View (at Canvas.js:128) in Canvas (at LapDetails.tsx:236) in RCTView (at View.js:45) in View (at LapDetails.tsx:277) in RCTView (at View.js:45) in View (at LapDetails.tsx:248) in LapDetails (at ComponentWrapper.js:29) in WrappedComponent (at renderApplication.js:34) in RCTView (at View.js:45) in View (at AppContainer.js:98) in RCTView (at View.js:45) in View (at AppContainer.js:115) in AppContainer (at renderApplication.js:33) …
Some important dependencies: “react”: “16.6.3”, “react-native”: “0.58.6”, “react-native-canvas”: “^0.1.31”, “react-native-webview”: “^5.4.2”
Tested with Android (API Level 28) emulator and physical device.
Linking of Webview with $ react-native link react-native-webview
does not helped.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (1 by maintainers)
Top GitHub Comments
What helped me was
npm install react-native-webview
then manually link it to my projectsame question, under native React Native.