breautek commented on PR #1574: URL: https://github.com/apache/cordova-android/pull/1574#issuecomment-1500926803
> or even conceivably allow the crash to be prevented should a plugin choose to. Given that the Android Docs states > The given WebView can't be used, and should be removed from the view hierarchy, all references to it should be cleaned up, e.g any references in the Activity or other classes saved using [View.findViewById(int)](https://developer.android.com/reference/android/view/View#findViewById(int)) and similar calls, etc. I think it's unsafe to attempt to "prevent" a crash or continue using the webview. I think at minimum the webview needs to be recreated. I do agree that it is definitely useful for debugging or crashlytics however. The `RenderProcessGoneDetail` API was added in API 26. cordova-android@12 supports as far back as API 24, but we will compile with API 33. Because this is a delegate function, I believe this is fine, it just won't be invoked by the underlying system on API 24 or 25, I presume. Was this tested on API 24 devices/emulators? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
