Skip to content

Latest commit

 

History

History
50 lines (26 loc) · 2.64 KB

EAS.md

File metadata and controls

50 lines (26 loc) · 2.64 KB

Distribute using Expo Application Services

To be able to use Expo Application Services to upload your app to App Store and Google Play Store there are some configurations that need to be done on your side.

Build from github actions

To be able to trigger the eas-build github action you will have to add the EXPO_TOKEN secret to the repo settings. This secret is a required access token for your Expo account. https://expo.dev/settings/access-tokens

Submit to Google Play Store

The first submission of the app needs to be performed manually. Learn more: https://expo.fyi/first-android-submission. Only after having a valid version submitted you can submit automatically using EAS.

To submit an app to google play store you will have to follow the steps in Uploading a Google Service Account Key for Play Store Submissions with EAS guide, its super detailed and should not take you much time.

Once you've completed the guide you'll be able to submit to the store your EAS builds using the following command:

eas submit --platform android

Submit to AppStore

  1. Ensure your credentials are configured correctly in EAS. You can do this by running the following command in your terminal:

eas credentials

Follow the prompts to authenticate and select your Apple Developer account.

When asked What do you want to do? select: App Store Connect: Manage your API Key.

Screenshot 2024-07-31 at 6 09 59 PM

In order to be able to Generate a new App Store Connect API Key it's important your user has the right permissions on the App Store Connect account. Make sure you have access to Cloud Managed Distribution Certificate, if you don't have this permission you'll get a 403 - Access forbidden response.

Screenshot 2024-07-31 at 5 34 56 PM

  1. Build your app using Expo and EAS:

eas build --platform ios

This command initiates the build process for iOS using Expo Application Services.

  1. Submit Your Build to the App Store Once your build is complete, you can submit it to the App Store using the following command:

eas submit --platform ios

This command will handle the submission of your build to the App Store using the credentials and configuration you provided.

Additional Resources

For more detailed instructions on setting up your Apple Developer account, certificates, and provisioning profiles, refer to the EAS Submits docs.