Day 5 of 5

Build and Deploy

Today you will create a production build, configure app icons and splash screens, and publish your app to the Expo Go channel. You will also learn the path to the App Store and Google Play.

json
{
  "expo": {
    "name": "My App",
    "slug": "my-app",
    "version": "1.0.0",
    "icon": "./assets/icon.png",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#1e3a5f"
    },
    "ios": {
      "bundleIdentifier": "com.yourname.myapp",
      "buildNumber": "1"
    },
    "android": {
      "package": "com.yourname.myapp",
      "versionCode": 1
    }
  }
}
bash
# Install EAS CLI
npm install -g eas-cli
eas login

# Configure your project
eas build:configure

# Build for both platforms
eas build --platform android
eas build --platform ios

# Submit to stores
eas submit --platform android
eas submit --platform ios
Tip: Use npx expo publish for OTA updates — users get new JS instantly without a store release.

Exercise: Publish a Build

  1. Replace icon.png and splash.png with your designs
  2. Run eas build:configure and answer the prompts
  3. Create a development build: eas build --profile development
  4. Test the .apk on an Android device
  5. Push an OTA update with npx expo publish

Day 5 Summary

Finished this lesson?