eas.json
eas.json
is the configuration file for Expo Application Service (EAS). It allows you to create profiles for building and distributing your app.
Ignite includes a few default build profiles for common scenarios, but you can customize or add your own profiles too!
development
- internal debug build for testing on simulatorsdevelopment:device
- internal debug build for testing on physical devicespreview
- internal production build for testing on simulatorspreview:device
- internal production build for testing on physical devicesproduction
- default production profile intended for external distribution
Note how profiles can share settings via extends
:
"development": {
"extends": "production",
"distribution": "internal",
"android": {
"gradleCommand": ":app:assembleDebug"
},
"ios": {
"buildConfiguration": "Debug",
"simulator": true
}
},
"development:device": {
"extends": "development",
"distribution": "internal",
"ios": {
"buildConfiguration": "Debug",
"simulator": false
}
},
"production": {}
In this example, development:device
inherits the settings from development
, but changes the ios
setting to simulator: false
. You can use extends
to create a set of profiles to fit your needs without duplicating configuration.
View Expo's eas.json Documentation for more info.