You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already have react-native-webview in my package.json and use it in my app, I believe this is why the error shows up. It disappears the moment I don't render the ChatWidget.
A solution that crosses my mind is not to add react-native-webview widgets package.json, but additionally just add to root package json as proprietary package so that this conflict doesn't happen.
The app works when I remove the react-native-webview from the inside of node_modules. 💪
ERROR Invariant Violation: Tried to register two views with the same name RNCWebView(node:96746) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added. Use emitter.setMaxListeners() to increase limit
The text was updated successfully, but these errors were encountered:
Thanks for the pointers. Worked a treat here. God bless. For clarity (in case anyone was confused like me)- you follow the WebView manual installation steps referenced above and then you remove the react-native-webview folder from the inside of @papercups.io chat widget node_modules.
I already have react-native-webview in my package.json and use it in my app, I believe this is why the error shows up. It disappears the moment I don't render the ChatWidget.
A solution that crosses my mind is not to add react-native-webview widgets package.json, but additionally just add to root package json as proprietary package so that this conflict doesn't happen.
The app works when I remove the react-native-webview from the inside of node_modules. 💪
The text was updated successfully, but these errors were encountered: