Skip to content

๐Ÿ—๏ธ Building Your App

Build and deploy your ExpoBase app to app stores.

๐Ÿ“‹ Prerequisites

Before building, ensure you've completed the setup:

  • โœ… All environment variables configured
  • โœ… npm run supabase:setup completed successfully
  • โœ… Apple Developer account (for iOS)
  • โœ… Google Play Console account (for Android)

๐Ÿš€ Development Build

For testing on real devices during development:

# Build development version
npx eas build --platform ios --profile development
npx eas build --platform android --profile development

Install the build on your device and test all features:

  • Authentication flows
  • Database operations
  • Push notifications
  • Subscription flows
  • Payment processing

๐Ÿ“ฆ Production Build

When ready to submit to app stores:

1. Update Version

Update your app version in app.json:

export default {
  expo: {
    version: "1.0.1", // Increment version
    ios: {
      buildNumber: "2" // Increment build number
    },
    android: {
      versionCode: 2 // Increment version code
    }
  }
};

2. Add Production Environment Variables

In your Expo Dashboard:

  1. Go to your project โ†’ Settings โ†’ Environment variables
  2. Add ALL your production environment variables
  3. Set environment to Production

3. Build for Stores

# Build for App Store and Play Store
npx eas build --platform all --profile production

4. Submit to Stores

# Submit to App Store
npx eas submit --platform ios
 
# Submit to Google Play Store
npx eas submit --platform android

๐Ÿ”ง Common Issues

Build Failed?
  • Check all environment variables are set
  • Ensure npm run supabase:setup completed without errors
  • Verify Apple/Google certificates are valid
App Crashes?
  • Check Sentry dashboard for error reports
  • Verify all API keys are correct
  • Test authentication flows

๐ŸŽฏ Next Steps

After successful store submission:

  1. Monitor your app via Sentry dashboard
  2. Track revenue via Revenue Cat dashboard
  3. Update your app with new features
  4. Deploy updates via EAS

๐ŸŽ‰ App Built Successfully!

Your ExpoBase app is now live in the app stores!

Happy launching! ๐Ÿš€