app config
- The app config (
app.json
, app.config.js
, app.config.ts
) is used for configuring Expo Prebuild generation, how a project loads in Expo Go, and the OTA update manifest.
- It must be located at the root of your project, next to the package.json.
config plugin
- When using Continuous Native Generation (CNG) in a project, native project (android and ios directories) changes are implemented without directly interacting with the native project files. Instead, you can use a config plugin to automatically configure your native project beyond what can be configured using the default app config props.
- A config plugin is a top-level custom configuration point that is not built into the app config. Using a config plugin, you can modify native projects created during the prebuild process in CNG projects.
- A config plugin is referenced in the
plugins
property of the app config file and is made up of one or more plugin functions. These plugin functions are written in JavaScript and are executed during the prebuild process.