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

一个配置插件,允许在预构建期间自定义原生构建属性。

Android
iOS
tvOS
Recommended version:
~58.0.10

expo-build-properties 是一个 配置插件,在 预构建 期间配置 android/gradle.properties 和 ios/Podfile.properties.json 目录的原生构建属性。

安装

🌐 Installation

Terminal
- npx expo install expo-build-properties
- yarn expo install expo-build-properties
- pnpm expo install expo-build-properties
- bun expo install expo-build-properties

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

app.json
{ "expo": { "plugins": [ [ "expo-build-properties", { "android": { "compileSdkVersion": 37, "targetSdkVersion": 36, "buildToolsVersion": "37.0.0" }, "ios": { "deploymentTarget": "16.4" } } ] ] } }

所有可配置的属性

🌐 All configurable properties

PluginConfigType 接口表示当前可用的配置属性。

应用接口

🌐 API

No API data file found, sorry!