-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NSInvalidArgumentException: -[RNCWebViewImpl destroyWebView]: unrecognized selector sent to instance 0x10b1e9a00 #3298
Comments
Full error:
Encountered on an Expo Prebuild (aka bare/ejected) app when navigating away from a stack screen with the webview, as rendered by react-native-autoheight-webview (1.6.5) right after turning on the new architecture to test that in the app. Can provide a minimal repro if wanted. |
+1 So, the crash happens when I navigate away from WebView screen, it can be either navigation.goBack(), or just using the swipe to the right gesture on IOS.
and define this append_header_search_path function globally on the top of podfile
and that's it. it fixes this crash for me. |
Same problem for me - when you navigate to a previous screen it crashes. Happens only on iOS with new architecture enabled. My stack is: Unfortunately I couldn't get 13.6.3 to install with the above fix. |
what is the RN version you have? and did you get the error during pod install or the build phase? |
Woops! I'm using RN 0.73.2. When I use react-native-webview 13.6.3 then pod install is fine, but it fails to build. |
All, facing similar issue |
I'm getting this issue. In my simulator works fine, but in testflight version the application breaks when the component is unmounting. The new arch is enabled |
Hi there! I'm Riccardo, from the React Native core team. Thank you so much for raising this issue. The problem should not be addressed in WebView as this issue revealed a broader problem in React Native Core. |
RN 0.73.5 fixed this for me. Thanks @cipolleschi 😄 |
unfortunately, this fix has not yet been ported to the 0.72 yet 😢 |
My bad... I forgot to request the pick for 0.72. :( I created a PR facebook/react-native#43240 against 0.72, hopefully still in time to be merged before the release... |
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 |
Hello,
i get this error when i navigate back from the webview screen
"""""""""""""""
NSInvalidArgumentException: -[RNCWebViewImpl destroyWebView]: unrecognized selector sent to instance 0x10b1e9a00
"""""""""""""""
The app crashes automatically. Thanks
The text was updated successfully, but these errors were encountered: