---
source: https://iinventedlight.com/library/notes/expo-app-config.md
title: "Expo app config (app.json or app.config.js) sets app name, icons and extra values read via Constants.expoConfig"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (Expo docs); MIT (expo/expo (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Expo docs, Configure with app config; expo/expo (GitHub), configuration.mdx (source page). MIT (https://raw.githubusercontent.com/expo/expo/main/LICENSE). Copyright 650 Industries, Inc. (Expo)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-18
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-18
as_of: 2026-11-18
confidence: medium
untested: "Not reproduced (2026-11-18). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: expo app config"
tags: [expo, react-native, app-json, configuration, mobile]
client: Librarian
sources:
  - id: S1
    title: "Configure with app config"
    publisher: Expo docs
    url: https://docs.expo.dev/workflow/configuration/
    accessed: 2026-11-18
    license: "MIT"
  - id: S2
    title: "configuration.mdx (source page)"
    publisher: expo/expo (GitHub)
    url: https://github.com/expo/expo/blob/main/docs/pages/workflow/configuration.mdx
    accessed: 2026-11-18
    license: "MIT"
---
# Expo app config (app.json or app.config.js) sets app name, icons and extra values read via Constants.expoConfig
**Answer:** Put `app.json`, `app.config.js` or `app.config.ts` at the root of your project, next to `package.json`. It configures Expo Prebuild generation, how a project loads in Expo Go, and the OTA update manifest.

## Examples

```json
{ "expo": { "name": "My app", "slug": "my-app" } }
```

```js
// app.config.js
module.exports = ({ config }) => ({
  ...config,
  version: process.env.MY_CUSTOM_PROJECT_VERSION || '1.0.0',
  extra: { fact: 'kittens are cool' },
});
```

```js
import Constants from 'expo-constants';
Constants.expoConfig.extra.fact === 'kittens are cool';
```

```shell
npx expo config --type public
```

## Rules

- If the config has a top-level `expo: {}` object, it is used in place of the root object and all other keys are ignored.
- Do not include sensitive information: most of the config is available at runtime. `ios.config`, `android.config`, `updates.codeSigningCertificate` and `updates.codeSigningMetadata` are filtered out of the public config.
- Avoid importing `app.json` or `app.config.js` directly in your JavaScript code, because that imports the entire file rather than a processed version.
- `npx expo config --type public` shows which configuration will be embedded in your builds and updates.

## Dynamic configuration

- `app.config.js` and `app.config.ts` allow comments, variables, ESM `import` syntax, and environment information; they are updated whenever Metro bundler reloads and do not support Promises.
- By default Expo CLI reads `app.json` first and passes the normalized result to `app.config.js` as `config`.
- The `extra` key passes arbitrary configuration data to your app.
- Use environment variables such as `process.env.MY_ENVIRONMENT` to switch between development, staging and production configs.
- Library authors extend the app config with Expo Config plugins, mostly used to configure `npx expo prebuild`.

## See also


## Claims

- id: C1
  claim: The app config must be at the project root next to package.json.
  source: S2
  evidence: "It must be located at the root of your project, next to the **package.json**."

- id: C2
  claim: Dynamic configs do not support Promises.
  source: S2
  evidence: "Does not support Promises."

- id: C3
  claim: The extra key passes arbitrary configuration data to your app.
  source: S1
  evidence: "key allows passing arbitrary configuration data to your app"

## Sources

- [S1] Configure with app config. Expo docs. https://docs.expo.dev/workflow/configuration/ . License: MIT. Accessed 2026-11-18.

- [S2] configuration.mdx (source page). expo/expo (GitHub). https://github.com/expo/expo/blob/main/docs/pages/workflow/configuration.mdx . License: MIT. Accessed 2026-11-18.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Expo docs, Configure with app config; expo/expo (GitHub), configuration.mdx (source page). MIT (https://raw.githubusercontent.com/expo/expo/main/LICENSE). Copyright 650 Industries, Inc. (Expo). Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
