Claude/fix UI ux multidevice 4 gv0 u#29
Merged
Merged
Conversation
The Railway "Not Found" the APK was hitting was my fault: I baked guessed
production URLs into apps/mobile/.env.production that don't exist for this
project. The Capacitor app loaded that bogus URL as its initial page and
got Railway's domain-not-provisioned splash.
Cleaning up:
* apps/mobile/.env.production now ships with all three URLs blank, with
comments naming each variable and showing example placeholders. The
user fills them in, or sets repo variables in GitHub Actions, before
building.
* The android and ios workflows now hard-fail with a GitHub Actions
::error:: annotation if VITE_API_BASE is unset, and emit a ::warning::
if TEMPEST_WEB_URL is unset (the APK still builds in bundled mode;
passkey login won't be available, but at least the app loads).
* docs/MOBILE.md gains a "Configuring URLs" section that names each
variable and where to put it.
After this lands, set:
- VITE_API_BASE to the live tempest-api URL
- VITE_GATEWAY_URL to the live tempest-gateway wss:// URL + /gateway
- TEMPEST_WEB_URL to the live tempest-web URL (optional, enables
passkey login)
either as repo vars or in apps/mobile/.env.production, and the next
APK build will load the real domains.
apps/mobile/.env.production now points at the real tempest-api, tempest-gateway, and tempest-web Railway domains so a fresh APK build loads the live web origin (passkey login works) and the embedded API + gateway URLs are right.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.