Skip to content

feat(mobile): wrap root layout in global error boundary (#227)#278

Merged
El-swaggerito merged 1 commit into
Axionvera:mainfrom
Justprotocol:feature/global-error-boundary
Jul 23, 2026
Merged

feat(mobile): wrap root layout in global error boundary (#227)#278
El-swaggerito merged 1 commit into
Axionvera:mainfrom
Justprotocol:feature/global-error-boundary

Conversation

@Justprotocol

Copy link
Copy Markdown
Contributor

Summary

Ensures all app lifecycle and render paths are protected by wrapping the top-level root layout component in the global ErrorBoundary.

Changes

  • Refactored app/_layout.tsx to wrap at the highest level with .
  • Prevents app crashes during early initialization or storage error states, ensuring unhandled errors display a clean fallback screen with safe recovery options.

Fixes

Closes #227

@El-swaggerito
El-swaggerito merged commit b425b22 into Axionvera:main Jul 23, 2026
1 check passed
@grantfox-oss grantfox-oss Bot mentioned this pull request Jul 23, 2026
5 tasks
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.

Add mobile global error boundary

2 participants