Listoca

Configuration

The settings files, and the environment variables of each app.

Settings in code

FileWhat
apps/native/src/config.tsthe drawer, and whether an account is optional or required
apps/web/src/config.tsthe app's name, the companion switch, themes
packages/auth/src/config.tsthe sign-in methods the apps offer, onboarding
packages/payments/src/config.tsplans, their entitlements, limits, display prices
supabase/config.tomlthe local stack: auth rules, hooks, function settings
powersync/sync-config.yamlwhat each device receives

Environment variables

Each app declares its variables in .env.schema (varlock); local values go in the app's .env (git-ignored). Public ones start with EXPO_PUBLIC_ (native) or VITE_ (web, marketing, docs). The defaults point at the local stack.

AppMain variables
nativeEXPO_PUBLIC_SUPABASE_URL, EXPO_PUBLIC_SUPABASE_KEY, EXPO_PUBLIC_POWERSYNC_URL, RevenueCat keys, Google client ids
webVITE_SUPABASE_URL, VITE_SUPABASE_KEY
marketingVITE_SITE_URL, store URLs, the Apple team id and Android certificate fingerprints for app links

The Edge Functions read their settings from the Edge Runtime's environment (packages/functions/src/env.ts); locally they come from [edge_runtime.secrets] in supabase/config.toml, and secrets such as REVENUECAT_SECRET_KEY from supabase/.env.

On this page