This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Expo BuildProperties
A config plugin that allows customizing native build properties during prebuild.
expo-build-properties is a config plugin configuring the native build properties
of your android/gradle.properties and ios/Podfile.properties.json directories during Prebuild.
This config plugin configures how Prebuild command generates the native android and ios directories and therefore cannot be used with projects that don't runnpx expo prebuild(bare projects).
Installation
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Example app.json with config plugin
All configurable properties
PluginConfigType interface represents currently available configuration properties.
API
Methods
Resolves a shared config value with platform-specific override. Platform-specific values take precedence over top-level values.
SharedBuildConfigFields[K]Config plugin allowing customizing native Android and iOS build properties for managed apps.
ExpoConfigInterfaces
The Android Maven repository credentials that are passed as HTTP headers.
The Android Maven repository credentials for basic authentication.
Interface representing extra CocoaPods dependency.
Extends: SharedBuildConfigFields
Interface representing available configuration for Android native build properties.
Interface representing available configuration for Android Gradle plugin PackagingOptions.
Extends: SharedBuildConfigFields
Interface representing available configuration for iOS native build properties.
Shared build configuration fields that can be set at the top level or overridden per-platform. Platform-specific values take precedence.
Types
Literal type: union
Acceptable values are: AndroidMavenRepositoryPasswordCredentials | AndroidMavenRepositoryHttpHeaderCredentials | AndroidMavenRepositoryAWSCredentials