dooboolab
Published in

dooboolab

About Expo EAS Build

Photo by Christopher Burns on Unsplash

What is EAS Build?

EAS Build is a hosted service for building app binaries for Expo and React Native projects.

🚀 Using this has the following advantages.

  1. It’s very easy to build apps for deployment by processing signature credentials.
  2. You can include libraries with native code that aren’t part of the Expo standard library
  3. You can reduce the app capacity.
  4. You can easily share test builds with colleagues without going through the app store.
  5. You can build all platforms with just one command.

If one of the above reasons is considered convenient, it is sufficient to use the EAS build.

Prerequisites

  1. EAS build is a paid service. You have to pay Priority plants from your Expo account.

The first month is free and as of November 4, 2021, you have to pay $29 a month.

Please check the link below for the detailed cost.

2. An Expo account and Android and iOS developer accounts are required.

3. Support for Expo managed projects is available as of SDK 41

How to use

1. Install the EAS CLI

Install the EAS CLI by entering the command below in the terminal.

npm install -g eas-clioryarn global add eas-cli

2. Log in to your Expo account

Enter the command below to the terminal and log in with your Expo account.

eas login

3. Create a configuration file

Enter the command below in the terminal to create a configuration file.

eas build:configure

Detailed preferences can be found on this link.

4. Run a build

Before the build can start. you’ll need to generate or porivde app signing credentials.

Build the app by entering the command below in the terminal.

eas build

Alternatively, you can build it directly for each platform without selecting.

eas build --platform androidoreas build --platform iosoreas build --platform all

Caveat

If the app has an account in Organizations, you must add owner to the Expo configuration.

Otherwise, an error occurs that you do not have access.

Open app.json or app.config.js to add owner.

{
"expo": {
...
"owner": "your-organization-name'
...
}
}

--

--

--

Open source community

Recommended from Medium

5 JavaScript Frameworks for creating Graphics

Phaser Js — Most popular game framework for web

next.js at Chợ Tốt

Understanding var, let and const

Let’s Encrypt Files With Node

JavaScript Weekly: Graceful Error Handling

Basics of PassportJWT

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Seong-Am Kim

Seong-Am Kim

I love Programming 🧑🏻‍💻 https://github.com/Jay-flow

More from Medium

The Best Audio Player Library for React Native Apps

So You Want to Scroll Infinitely Using React and Firebase?

How to reduce React Native App size by 70–85% using these simple methods

Top 10 Libraries You Should Know for React Native in 2022