Skip to content

Fix Major Crashes on Android#8284

Closed
OneAboveAll1964 wants to merge 8 commits intowix:masterfrom
OneAboveAll1964:master
Closed

Fix Major Crashes on Android#8284
OneAboveAll1964 wants to merge 8 commits intowix:masterfrom
OneAboveAll1964:master

Conversation

@OneAboveAll1964
Copy link
Copy Markdown
Contributor

@OneAboveAll1964 OneAboveAll1964 commented Apr 30, 2026

This PR is a continuation of a patch i made before which got merged, it significantly reduced the crashes, this PR solves the below crashes completely (screenshot from before, now we have 0 events from those crashes)
Screenshot 2026-04-30 at 1 30 56 PM
the PR adds more safety checks and a suggestion made by @Belobopka

issues reference: issue

OneAboveAll1964 and others added 8 commits April 9, 2026 11:54
…n activity is destroyed

Initialize layoutFactory early if activity is available on TurboModule init, and guard
against null activity before creating the view tree. Adds null-safe access to activity,
window, and decorView across Presenter, LayoutDirectionApplier, and RootPresenter.
…tart

fix(android): prevent NullPointerException crashes during setRoot when activity is destroyed
@markdevocht
Copy link
Copy Markdown
Contributor

Included in internal PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants