Skip to content

fix: open the Expo app even when applying the remembered language throws - #3

Merged
rubinbasha merged 1 commit into
mainfrom
fix/expo-language-read-finally
Nov 9, 2026
Merged

rubinbasha merged 1 commit into
mainfrom
fix/expo-language-read-finally

Conversation

@rubinbasha

Copy link
Copy Markdown
Contributor

Summary

The Expo app's first screen now appears whatever the remembered-language read does, as in the SDK repository's example.

 App: read AsyncStorage(rerune-example-language)
-  .catch(() => null).then(apply; setLanguageRead(true))
+  .then(apply).catch(() => undefined).finally(() => setLanguageRead(true))

Before, a throw while applying the read (after the read itself succeeded) skipped setLanguageRead(true), so the loading spinner stayed. The README also says now that a remembered dashboard-only language shows English until ReRune loads it.

Evidence

  • pnpm --dir examples/react-native-expo typecheck, pnpm lint, pnpm test (13/13), and CI=true pnpm export:android passed.
  • This app has no runtime test layer, so the finally path was not executed; the same change in the SDK repository's example passes its Expo suite.

Merge Danger

Door: two-way

One promise chain and one README sentence. Revert the commit to undo.

Blast Radius: examples

None beyond the Expo example's startup.

🤖 Generated with Claude Code

The first screen waits for the remembered-language read. A throw while
applying it skipped the end of the wait, so the spinner stayed; the wait now
settles in finally, as in the SDK repository's example. The README says that
a remembered dashboard-only language shows English until ReRune loads it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rubinbasha
rubinbasha merged commit 6209013 into main Nov 9, 2026
2 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