This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Expo 常量
提供在应用安装的整个生命周期中保持不变的系统信息的 API。
Android
iOS
tvOS
Web
Included in Expo Go
Recommended version:
~58.0.10
expo-constants 提供在应用安装整个生命周期中保持不变的系统信息。
安装
🌐 Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
应用接口
🌐 API
import Constants from 'expo-constants';
No API data file found, sorry!