Skip to content

fix: hide splash screen from root layout#531

Merged
0x1337ak merged 1 commit into
masterfrom
codex/fix-splash-screen-hide
Jun 2, 2026
Merged

fix: hide splash screen from root layout#531
0x1337ak merged 1 commit into
masterfrom
codex/fix-splash-screen-hide

Conversation

@0x1337ak

@0x1337ak 0x1337ak commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • hide the Expo splash screen from the root layout after the root view lays out
  • remove the nested tab-layout splash timer so splash handling has one owner
  • hide only after the app has rendered its first UI, including any redirect caused by auth state.

@netlify

netlify Bot commented Jun 2, 2026

Copy link
Copy Markdown

Deploy Preview for obytes-starter canceled.

Name Link
🔨 Latest commit 8f6b739
🔍 Latest deploy log https://app.netlify.com/projects/obytes-starter/deploys/6a1ec66339c46300082cfcb1

@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

💯 Test Coverage

Lines Statements Branches Functions
Coverage: 31%
30.78% (129/419) 35.04% (82/234) 27.36% (52/190)

😎 Tests Results

Tests Skipped Failures Errors Time
40 0 💤 0 ❌ 0 🔥 19.329s ⏱️
👀 Tests Details • (31%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files30.7835.0427.3631.42 
app0000 
   _layout.tsx000023–89
app/(app)0000 
   _layout.tsx000014–58

@0x1337ak 0x1337ak requested review from ElenaBitire and yjose June 2, 2026 12:14
@0x1337ak 0x1337ak merged commit fd9b358 into master Jun 2, 2026
10 checks passed
@0x1337ak 0x1337ak deleted the codex/fix-splash-screen-hide branch June 2, 2026 13:59
@ShingLi

ShingLi commented Jun 3, 2026

Copy link
Copy Markdown

It seems this PR still hasn't resolved the white screen issue during app cold start in the development environment. The splash screen disappears automatically before preventAutoHideAsync() is executed in Layout.tsx, which causes it to reappear once the bundle finishes loading

@0x1337ak

0x1337ak commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator Author

@ShingLi if you're using android it's a known issue
check this
expo/expo#40464 (comment)

@ShingLi

ShingLi commented Jun 8, 2026

Copy link
Copy Markdown

@ShingLi if you're using android it's a known issue check this expo/expo#40464 (comment)

oh, cool. thanks for the tip

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.

3 participants