react-native-wkwebview icon indicating copy to clipboard operation
react-native-wkwebview copied to clipboard

WebView Process Terminated Hook

Open scisci opened this issue 6 years ago • 2 comments

Hi, sometimes our webview runs out of resources and basically crashes. I noticed this method gets called:

https://github.com/CRAlpha/react-native-wkwebview/blob/37e4d7686e5038404d1a49f4634e05c919816cbb/ios/RCTWKWebView/RCTWKWebView.m#L607

Is there anyway we can hook into this on the JS side so we can recover?

scisci avatar Sep 07 '18 14:09 scisci

Seeing it also, any solution?

oferRounds avatar Nov 25 '18 07:11 oferRounds

Hey there! Had the same issue and just opened https://github.com/CRAlpha/react-native-wkwebview/pull/218.

calmyournerves avatar Jan 05 '19 13:01 calmyournerves