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 recently helped merge a plugin hook into cordova-android that allows a plugin to listen for the WebViewClient.onRenderProcessGone in order to be informed when the chrome renderer has been terminated or crashes on Android: apache/cordova-android#1574
This information could be useful to log to Crashlytics, to provide more context to a reported crash.
Implementation is fairly straightforward. In Cordova Android 12, a new method is available: boolean onRenderProcessGone(final WebView view, RenderProcessGoneDetail detail). This plugin could override this hook, and log the resulting detail to Crashlytics.
To exercise the chrome render crash behaviour, the easiest way is to use Chrome Debugger, and execute a command like this: navigator.app.loadUrl("chrome://crash")
Chrome has a bunch of built-in crash types that can be seen by hitting chrome://about/.
The text was updated successfully, but these errors were encountered:
Feature request
Hi!
I recently helped merge a plugin hook into
cordova-android
that allows a plugin to listen for the WebViewClient.onRenderProcessGone in order to be informed when the chrome renderer has been terminated or crashes on Android: apache/cordova-android#1574This information could be useful to log to Crashlytics, to provide more context to a reported crash.
Implementation is fairly straightforward. In Cordova Android 12, a new method is available:
boolean onRenderProcessGone(final WebView view, RenderProcessGoneDetail detail)
. This plugin could override this hook, and log the resulting detail to Crashlytics.Reference for RenderProcessGoneDetail
To exercise the chrome render crash behaviour, the easiest way is to use Chrome Debugger, and execute a command like this:
navigator.app.loadUrl("chrome://crash")
Chrome has a bunch of built-in crash types that can be seen by hitting chrome://about/.
The text was updated successfully, but these errors were encountered: