Mobile Deployment (iOS & Android)
CHANGENTS.AI is a native mobile app built with React Native and Expo. Distribute it via the App Store and Google Play, or via internal enterprise distribution.
Prerequisites
- Expo account (expo.dev)
- Apple Developer account (for iOS)
- Google Play Console account (for Android)
- EAS CLI:
npm install -g eas-cli
EAS Build Setup
EAS (Expo Application Services) handles cloud-based builds — no Xcode or Android Studio required on your machine.
# Login to Expo
eas login
# Configure EAS for this project
eas build:configureThis creates eas.json in the project root.
Building for iOS
# Build for App Store (production)
eas build --platform ios --profile production
# Build for internal testing (TestFlight)
eas build --platform ios --profile previewBefore your first iOS build:
- Register your App ID in Apple Developer Portal
- Create an App Store Connect entry for the app
- EAS will prompt for your Apple credentials and provisioning profiles
Building for Android
# Build APK for internal testing
eas build --platform android --profile preview
# Build AAB for Google Play
eas build --platform android --profile productionEnvironment Variables for Mobile
Mobile environment variables are set in eas.json or via the EAS CLI:
eas secret:create --scope project --name EXPO_PUBLIC_API_URL --value https://api.yourco.com
eas secret:create --scope project --name EXPO_PUBLIC_GOOGLE_CLIENT_ID --value your-client-idOver-the-Air (OTA) Updates
Use Expo Updates to push JavaScript/asset changes to users without an App Store submission:
# Publish an OTA update
eas update --branch production --message "Fix login bug"OTA updates work for JS/TS code and asset changes. Changes to native modules (new Expo SDK version, new native packages) require a full rebuild.
Deep Linking (OAuth on Mobile)
CHANGENTS.AI uses Expo Auth Session for OAuth on mobile. The deep link scheme is:
changents://auth/callbackRegister this scheme in:
- iOS — Apple Developer: add
changents://as an Associated Domain - Android —
app.jsonschemefield (already configured) - Google OAuth — register
changents://auth/callbackas an Authorised Redirect URI in Google Console
Enterprise Distribution (No App Store)
For internal enterprise deployment without the App Store:
iOS (MDM)
- Build a
.ipafile with an Enterprise Developer Certificate - Distribute via your MDM solution (Jamf, Intune, etc.)
Android (APK sideloading)
- Build an APK with
eas build --platform android --profile internal - Distribute the APK via your MDM or internal portal