Skip to content
Buy the boilerplate

Building and Releasing

The mobile app (Pro and Enterprise) builds with EAS, Expo’s build and submit service. The repo ships an app.json and an eas.json. Before your first store build you need an EAS project, your own identifiers, production URLs and your brand assets. This page lists each step. Start with Mobile overview for running the app locally.

The app is configured in mobile/app.json (there is no app.config.js). What ships:

KeyValueChange it to
expo.nameDotnetSaasYour app’s display name
expo.slugdotnet-saasYour EAS project slug
expo.version0.0.0Your marketing version, for example 1.0.0
expo.schemedotnetsaasYour deep-link scheme (invitation links use <scheme>://invite/<token>)
expo.icon, android.adaptiveIconassets/icon.png, assets/adaptive-icon.png, background #2563ebYour icon and brand color
ios.privacyManifestsRequired-reason API declarationsKeep; App Store review checks them

The plugins array configures native modules: expo-router, expo-secure-store, expo-notifications, expo-localization, expo-image-picker (camera and photo permission strings), expo-local-authentication (Face ID string), @sentry/react-native and expo-splash-screen (light #f8fafc and dark #0b1120 backgrounds). Edit the permission strings to match your product.

app.json does not set ios.bundleIdentifier or android.package. Both stores need them, so add them before you build:

// app.json → expo
"ios": { "bundleIdentifier": "com.yourcompany.yourapp" },
"android": { "package": "com.yourcompany.yourapp" }

assets/ holds placeholder art, a blue rounded square with a white “D”:

  • icon.png: 1024×1024, opaque. iOS masks the corners.
  • adaptive-icon.png: 1024×1024, transparent. The Android foreground; the background color comes from android.adaptiveIcon.backgroundColor.
  • splash-icon.png: the centered splash mark.

Replace them with PNGs of the same size at the same paths; no config change is needed. Set the in-app colors and mark in src/theme/config.ts (see theming), and update product-name mentions in src/i18n/locales/*.json.

All runtime settings are EXPO_PUBLIC_* variables read in src/config/env.ts. Expo inlines them into the JavaScript bundle at build time, so treat every value as public.

VariableDefaultPurpose
EXPO_PUBLIC_API_URLhttp://localhost:5113API origin. All calls go to <url>/api/v1.
EXPO_PUBLIC_WEB_URLhttp://localhost:5173Web UI that the Settings links open (billing, members, dashboard).
EXPO_PUBLIC_GOOGLE_WEB_CLIENT_IDnoneThe same client id the web UIs use.
EXPO_PUBLIC_GOOGLE_IOS_CLIENT_IDnoneAn iOS-type OAuth client in the same Google Cloud project.
EXPO_PUBLIC_GOOGLE_ANDROID_CLIENT_IDnoneAn Android-type OAuth client in the same project.
EXPO_PUBLIC_POSTHOG_KEYnonePostHog project key. Analytics is off when empty.
EXPO_PUBLIC_POSTHOG_HOST<API URL>/phPostHog host; defaults to the API’s PostHog proxy.
EXPO_PUBLIC_SENTRY_DSNnoneSentry DSN. Crash reporting is off when empty.

The Google button appears only when at least one client id is set. Native ID tokens carry the platform client id as their audience, so add the iOS and Android ids to the API’s Authentication:Google:AdditionalClientIds. See Google OAuth.

Locally, put the variables in mobile/.env. For EAS builds, set them per profile in eas.json under env, as the shipped profiles do for EXPO_PUBLIC_API_URL.

ProfileSettingsUse
developmentdevelopmentClient: true, distribution: internalA dev client for Google sign-in, push and the camera, which Expo Go cannot do
previewdistribution: internal, EXPO_PUBLIC_API_URL=https://staging.example.comInternal test builds against staging
productionautoIncrement: true, EXPO_PUBLIC_API_URL=https://app.example.comStore binaries

cli.appVersionSource is remote, so EAS keeps the build numbers, and autoIncrement bumps them on every production build. The user-facing version is still expo.version in app.json. submit.production is an empty profile for eas submit.

Replace the example.com URLs with your staging and production API origins. Add EXPO_PUBLIC_WEB_URL and any of the keys above to each profile’s env as needed:

"production": {
"autoIncrement": true,
"env": {
"EXPO_PUBLIC_API_URL": "https://app.yourdomain.com",
"EXPO_PUBLIC_WEB_URL": "https://app.yourdomain.com"
}
}

If the API serves a web UI from the same container (see Docker), both URLs are the same origin.

Terminal window
npm install -g eas-cli
eas login
eas init

eas init creates the project on expo.dev and writes its id to app.json under extra.eas.projectId. Production push needs that id: src/services/push.ts passes it to getExpoPushTokenAsync. Expo’s push service then delivers the notifications the API sends, so you upload no APNs or FCM keys to the API.

Terminal window
eas build --profile development --platform ios # dev client
eas build --profile preview --platform all # internal testers
eas build --profile production --platform all # store binaries
eas submit --profile production --platform ios # or android

EAS prompts for signing credentials (Apple distribution certificate and provisioning profile, Android keystore) the first time and can manage them for you.

The repo does not configure EAS Update yet. To enable it:

Terminal window
eas update:configure # one-time setup
eas update --branch production # publish a JavaScript-only update

An update can only change JavaScript and assets. A new native module, a plugin change or an app.json change needs a new store build.

  • Sentry source maps. Add your organization and project options to the Sentry plugin entry in app.json. Without them, EAS warns and uploads no source maps. See Sentry.

  • Universal and App Links. Invitation emails link to https:// URLs, which open the web UI until you claim your domain. Add the following to app.json and serve /.well-known/apple-app-site-association and /.well-known/assetlinks.json from that host:

    "ios": { "associatedDomains": ["applinks:app.yourdomain.com"] },
    "android": { "intentFilters": [{
    "action": "VIEW", "autoVerify": true,
    "data": [{ "scheme": "https", "host": "app.yourdomain.com", "pathPrefix": "/invite" }],
    "category": ["BROWSABLE", "DEFAULT"]
    }] }
  • HTTPS. Store builds must point at an https:// API. iOS blocks plain HTTP by default.

  • Tests. Run npm test in mobile/ before each build.

Test a deep link against a running dev build with npx uri-scheme open "dotnetsaas://invite/THE_TOKEN" --ios (or --android).

© 2026 .NET SaaS