Skip to content

Prevent Android first-layer readiness race - #72

Merged
0x7f merged 1 commit into
mainfrom
fix-android-first-layer-ready-race
Aug 26, 2026
Merged

Prevent Android first-layer readiness race#72
0x7f merged 1 commit into
mainfrom
fix-android-first-layer-ready-race

Conversation

@0x7f

@0x7f 0x7f commented Aug 17, 2026

Copy link
Copy Markdown
Member

Cached first-layer JS can postMessage before the WebView inject wraps it, so FIRST_LAYER_READY never reaches RN and remounts hang on the spinner. Wrap parent.postMessage, re-inject at document end, cache-bust per mount, and fall back to ready after load-end.

Cached first-layer JS can postMessage before the WebView inject wraps
it, so FIRST_LAYER_READY never reaches RN and remounts hang on the
spinner. Wrap parent.postMessage, re-inject at document end, cache-bust
per mount, and fall back to ready after load-end.
@0x7f
0x7f force-pushed the fix-android-first-layer-ready-race branch from 9c40d3f to 6e5451a Compare August 26, 2026 13:40
@0x7f
0x7f merged commit c864d0a into main Aug 26, 2026
3 checks passed
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.

1 participant