React Native course · Module 12: Publishing the app

EAS Submit - Publishing to stores

1 min read ·
In this lesson4

iOS configuration (App Store Connect)

# Generate credentials
eas credentials

# Or use your own
eas build --platform ios --profile production

Android configuration (Google Play)

# Download service account key from Google Play Console
# Add to eas.json or use an environment variable

# In eas.json
{
  "submit": {
    "production": {
      "android": {
        "serviceAccountKeyPath": "./google-play-key.json",
        "track": "internal"
      }
    }
  }
}

Submitting to stores

# iOS - App Store
eas submit --platform ios --latest

# Android - Google Play
eas submit --platform android --latest

# Both
eas submit --platform all --latest

Tracks in Google Play

{
  "android": {
    "track": "internal"    // internal, alpha, beta, production
  }
}

Spotted a mistake in this lesson?

Check yourself

Answer the questions from this lesson. Pick an answer to see right away whether it is correct.

  1. 1. Which command submits a build to the stores?

  2. 2. What does the --latest flag do in eas submit?

These are 2 of 4 questions for this lesson. Solve the rest in the game.

  1. Questioneas submit command
  2. Question--latest flag
  3. QuestionGoogle Play tracks
  4. QuestionserviceAccountKeyPath

Useful articles