Skip to content

Commit 2b6a872

Browse files
aapelivclaude
andcommitted
Point the staging app at the self-hosted OTA backend
Set the staging variant's updates.url to the backend's /mobile/ota/manifest endpoint (unsigned, cut 1) to validate the native<->backend OTA transport on a real build. Production stays on EAS Update until staging is proven. The backend endpoint itself is in a separate PR against develop. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 3835be1 commit 2b6a872

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

app/mobile/app.config.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,17 @@ const intentFilters = variant.linkHost
7676

7777
// Dev Tool branches load OTA through the dev launcher's deep-link load path
7878
// (couchers-devtool://expo-development-client/?url=...), so no update URL is
79-
// baked in and manifests are served unsigned over HTTPS. Staging and production
80-
// stay on EAS Update.
79+
// baked in and manifests are served unsigned over HTTPS.
80+
//
81+
// Staging points at our self-hosted OTA backend (cut 1: validating the Expo
82+
// Updates protocol + native<->backend transport, unsigned). Production stays on
83+
// EAS Update until staging is proven, then flips here too.
8184
const updates =
8285
APP_VARIANT === "devtool"
8386
? { enabled: true }
84-
: { url: "https://u.expo.dev/fb4fc9aa-d8b2-45a5-82aa-be05e99b0413" };
87+
: APP_VARIANT === "staging"
88+
? { url: "https://dev-api.couchershq.org/mobile/ota/manifest" }
89+
: { url: "https://u.expo.dev/fb4fc9aa-d8b2-45a5-82aa-be05e99b0413" };
8590

8691
export default {
8792
name: variant.name,

0 commit comments

Comments
 (0)