Skip to content

fix: fall back to defaultBaseUrl when no bootstrap stored#565

Merged
rogerchappel merged 2 commits into
mainfrom
fix/mobile-default-server-fallback
May 21, 2026
Merged

fix: fall back to defaultBaseUrl when no bootstrap stored#565
rogerchappel merged 2 commits into
mainfrom
fix/mobile-default-server-fallback

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

What changed

  • Removed the bootstrapMode === "qr-or-url" guard that blocked defaultBaseUrl fallback in the mobile shell.
  • Previously, when bootstrapMode was "qr-or-url" and no bootstrap was stored, getActiveServerUrl() returned empty string — so the built-in server URL from branding was never used.
  • Now the shell always falls back to defaultBaseUrl from the brand config when no bootstrap is stored.

Why it matters

The mobile app showed "Not configured" even when brand.generated.json had a valid defaultBaseUrl. Users had to paste a bootstrap link every time, instead of the app auto-connecting to the default server from branding.

Verification

  • pnpm sync + pnpm open:ios rebuild works
  • App should auto-open the default server URL without requiring bootstrap paste

@rogerchappel rogerchappel merged commit 805b0ac into main May 21, 2026
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