Day 05 Mastery

Build and Deploy — React Native in 5 Days

~1 hour Hands-on Precision AI Academy

Today's Objective

By the end of this lesson, you will understand the core concepts of Build and Deploy — React Native in 5 Days and be able to apply them in a real project.

json
json
{
  "expo": {
    "name": "My App",
    "slug": "my-app",
    "version": "1.0.0",
    "icon": "./assets/icon.png",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#2e2824"
    },
    "ios": {
      "bundleIdentifier": "com.yourname.myapp",
      "buildNumber": "1"
    },
    "android": {
      "package": "com.yourname.myapp",
      "versionCode": 1
    }
  }
}
bash
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.
01

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
02

Day 5 Summary