RNCWebViewManager cannot be cast to ViewGroupManager
See original GitHub issueI 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:
- Created 3 years ago
- Comments:5
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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