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.

RNCWebViewManager cannot be cast to ViewGroupManager

See original GitHub issue

I am using WebView for one of my pages. I’ve added the WebView from ‘react-native-webview’. App loads fine; however, when I open a page that uses the new call, I get the following error:

Abi37_0_0.host.exp.exponent.modules.api.components.webview.RNCWebViewManager cannot be cast to abi30_0_0.com.facebook.react.uimanager.ViewGroupManager

I’ve also deleted node-modules, npm-installed, run react-native link, and expo start -c - updated cli, deleted and re-installed expo on my app. Same error shows each time.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
macrobbercommented, May 8, 2020

I found that having a <Text> field inside the WebView no longer works - which is fine. For me, I just discovered that removing all other elements inside the WebView clears the issue up. Hope this helps.

0reactions
github-actions[bot]commented, Jul 28, 2020

Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

Read more comments on GitHub >

github_iconTop Results From Across the Web

RNCWebViewManager cannot be cast to ViewGroupManager
I am using WebView for one of my pages. I've added the WebView from 'react-native-webview'. App loads fine; however, when I open a...
Read more >
reactjs - Show loading indicator between navigation of pages ...
I guess the web view cannot have children I'm getting this error RNCWebViewManager cannot be cast to ViewGroupManager.
Read more >
UnPourTous/react-native-webview - Gitee.com
public class RNCWebViewManager extends SimpleViewManager<WebView> {. public static String activeUrl = null;. public static final int COMMAND_GO_BACK = 1;.
Read more >
com.oney.WebRTCModule.RTCVideoViewManager cannot ...
com.oney.WebRTCModule.RTCVideoViewManager cannot be cast to com.facebook.react.uimanager.ViewGroupManager.
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