This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Expo Constants
An API that provides system information that remains constant throughout the lifetime of your app's installation.
expo-constants provides system information that remains constant throughout the lifetime of your app's installation.
Installation
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';
Types
Type: ClientScopingConfig
Type: EASConfig
Type: ExpoGoConfig
Type: ExpoGoPackagerOpts
Type: ExpoUpdatesManifest
Type: ManifestAsset
Type: ManifestExtra
Enums
Deprecated: Use
Constants.executionEnvironmentinstead.
AppOwnership.Expo = "expo"The experience is running inside the Expo Go app.
Identifies where the app's JavaScript bundle is currently running.
ExecutionEnvironment.Bare = "bare"A project that includes native project directories that you maintain directly in your existing (bare) React Native app.
ExecutionEnvironment.Standalone = "standalone"Production/release build created with or without EAS Build.
Current supported values are handset, tablet, desktop and tv. CarPlay will show up
as unsupported.