App configuration
Learn how to setup the overall settings of your app.
When configuring your app, you'll need to define settings in different places depending on which provider will use them (e.g., Expo, EAS).
App configuration
Let's start with the core settings for your app. These settings are crucial as they're used by Expo and EAS to build your app, determine its store presence, prepare updates, and more.
This configuration includes essential details like the official name, description, scheme, store IDs, splash screen configuration, and more.
You'll define these settings in apps/mobile/app.config.ts
. Make sure to follow the Expo config schema when setting this up.
Here is an example of what the config file looks like:
Make sure to replace the values with your own and take your time to set everything correctly.
Configure with app config
docs.expo.dev
Internal configuration
The same as for the web app, and extension, we're defining the internal app config, which stores some overall variables for your application (that can't be read from Expo config).
The recommendation is to not update this directly - instead, please define the environment variables and override the default behavior. The configuration is strongly typed so you can use it safely accross your codebase - it'll be validated at build time.
For example, to set the extension default theme color, you'd update the following variable:
Do NOT use process.env!
Do NOT use process.env
to get the values of the variables. Variables
accessed this way are not validated at build time, and thus the wrong variable
can be used in production.
EAS configuration
To properly build and publish your app, you need to define settings for the EAS build service.
This is done in apps/mobile/eas.json
and it must follow the EAS config scheme.
Here is an example of what the config file looks like:
Make sure to fill all the environment variables with the correct values for your project and correct environment, otherwise your app won't build and you won't be able to publish it.
Configure EAS Build with eas.json
docs.expo.dev
Last updated on