question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android: RNCWebView error message

See original GitHub issue

When 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
NicholasElicommented, Apr 4, 2019

What helped me was npm install react-native-webview then manually link it to my project

2reactions
Pines-Chengcommented, Apr 17, 2019

same question, under native React Native.

Read more comments on GitHub >

github_iconTop Results From Across the Web

working on an android project getting RNCWebView was not ...
Invariant Violation: requireNativeComponent: "RNCWebView" was not found in the UIManager. here is a photo: enter image description here. I have ...
Read more >
React-native – Invariant Violation: requireNativeComponent ...
Hello friends i got this error after linking react-native-webview to my project. Invariant Violation: requireNativeComponent: "RNCWebView" was not found in ...
Read more >
Custom WebView - React Native
To get started, you'll need to create a subclass of RNCWebViewManager , RNCWebView , and RNCWebViewClient . In your view manager, you'll then ......
Read more >
react-native-webview does not work : r/reactnative - Reddit
I can run the app on the emulator, but whenever I open a screen with the WebView I get the error: RNCWebView was...
Read more >
strange error | Voters - AppGyver Community Edition
All of a sudden I can't build my Android app anymore, and to make matters worse, I have no idea what the error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found