From 60506e730f7f14b282386a495329e58b1605a4fc Mon Sep 17 00:00:00 2001 From: metatroncubeswdev Date: Sat, 31 Oct 2026 17:35:03 -0400 Subject: [PATCH] MEDIA_BASE_URL is optional in Codemagic Co-Authored-By: Claude Opus 5.5 --- codemagic.yaml | 2 +- docs/app-store-release.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codemagic.yaml b/codemagic.yaml index 7812232..e93e003 100644 --- a/codemagic.yaml +++ b/codemagic.yaml @@ -1,7 +1,7 @@ # Codemagic builds for Nanga Kathai. Setup steps: docs/app-store-release.md # # Needed in Codemagic (Team settings / app settings): -# - Environment variable group "nk_app": SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY, MEDIA_BASE_URL +# - Environment variable group "nk_app": SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY (MEDIA_BASE_URL optional) # - App Store Connect API key integration "clickstocart-app" (Developer Portal) (iOS) # - Variable CERTIFICATE_PRIVATE_KEY_BASE64 (secure) in group "nk_ios_signing" (iOS signing) # - Android keystore uploaded with reference name "nk_upload_keystore" (Android) diff --git a/docs/app-store-release.md b/docs/app-store-release.md index 03cc5b6..ddd6f8b 100644 --- a/docs/app-store-release.md +++ b/docs/app-store-release.md @@ -22,7 +22,7 @@ each store release. Build numbers are set automatically by Codemagic. 1. **Variables.** Open App settings > Environment variables and create the group **`nk_app`** with: - `SUPABASE_URL` = `https://app.nkbmusic.com` - `SUPABASE_PUBLISHABLE_KEY` = the value from your local `env.json` - - `MEDIA_BASE_URL` = `https://app.nkbmusic.com/storage/v1/object/public/audio` + - `MEDIA_BASE_URL` is optional; it defaults to the Supabase `audio` bucket 2. **App Store Connect API key.** - In App Store Connect, open Users and Access > Integrations > App Store Connect API and generate a key with the **App Manager** role. - In Codemagic, open Team settings > Team integrations > Developer Portal and add the key with the name **`clickstocart-app`** (already added; it works for every app in the Apple team).