Skip to content

Sumeru / #954 - Fix WebView render process crash handling#1035

Closed
sumeruchat wants to merge 1 commit intomasterfrom
fix/954-handle-webview-render-process-gone
Closed

Sumeru / #954 - Fix WebView render process crash handling#1035
sumeruchat wants to merge 1 commit intomasterfrom
fix/954-handle-webview-render-process-gone

Conversation

@sumeruchat
Copy link
Copy Markdown
Contributor

@sumeruchat sumeruchat commented Apr 7, 2026

Summary

  • Add onRenderProcessGone handler to IterableWebViewClient to gracefully handle Chrome renderer process crashes
  • When the render process dies, the WebView is destroyed to clean up internal state and true is returned to prevent the app from crashing
  • Logs the crash event via IterableLogger for debugging purposes

Test plan

  • Verify the app no longer crashes when the Chrome WebView renderer process dies unexpectedly
  • Verify in-app messages continue to function normally when no renderer crash occurs
  • Verify the fix only activates on API 26+ (Android O) as onRenderProcessGone is not available on earlier versions
  • Check logcat for the "WebView render process gone" error message when simulating a renderer crash

🤖 Generated with Claude Code

Add onRenderProcessGone handler to IterableWebViewClient to prevent
app crashes when the Chrome renderer process dies unexpectedly.

Fixes #954

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sumeruchat sumeruchat changed the title Fix WebView render process crash handling (#954) #954 - Fix WebView render process crash handling Apr 7, 2026
@sumeruchat sumeruchat changed the title #954 - Fix WebView render process crash handling Sumeru / #954 - Fix WebView render process crash handling Apr 7, 2026
@franco-zalamena-iterable franco-zalamena-iterable deleted the fix/954-handle-webview-render-process-gone branch April 8, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants