expo-module.config.json
编辑页面
了解 expo-module.config.json 中可用的不同配置选项。
For the complete documentation index, see llms.txt. Use this Use this file to discover all available pages.
Expo 模块在 expo-module.config.json 中进行配置。此文件目前可用于配置自动链接和模块注册。可用的属性如下:
platforms— 支持的平台数组。可接受的值为android、apple(或使用更细粒度的ios/macos/tvos)、web和devtools(请参阅创建开发工具插件)。apple— 包含 Apple 平台特定选项的配置modules— 要放入生成的模块 provider 文件中的 Swift 原生模块类名称。appDelegateSubscribers— 挂接到ExpoAppDelegate以接收 AppDelegate 生命周期事件的 Swift 类名称。
android— 包含 Android 平台特定选项的配置modules— 要放入生成的 package provider 文件中的 Kotlin 原生模块类完整名称(包名 + 类名)。