This is documentation for the next SDK version. For up-to-date documentation, see the latest version (SDK 52).

Expo Manifests

GitHub

npm

A library that provides types for Expo Manifests.

Android
iOS
tvOS

Installation

Terminal
- npx expo install expo-manifests

If you are installing this in an existing React Native app, start by installing expo in your project. Then, follow the additional instructions as mentioned by the library's README under "Installation in bare React Native projects" section.

API

import * as Manifests from 'expo-manifests';

Types

Deprecated Renamed to EmbeddedManifest, will be removed in a few versions.

Android
iOS
tvOS

BareManifest

Type: EmbeddedManifest

Android
iOS
tvOS

ClientScopingConfig

NameTypeDescription
scopeKey
(optional)
string

An opaque unique string for scoping client-side data to this project. This value will not change when a project is transferred between accounts or renamed.

Android
iOS
tvOS

EASConfig

NameTypeDescription
projectId
(optional)
string

The ID for this project if it's using EAS. UUID. This value will not change when a project is transferred between accounts or renamed.

Android
iOS
tvOS

EmbeddedManifest

An embedded manifest.

Generated during build in createManifest.js build step script.

NameTypeDescription
assetsany[]-
commitTimenumber-
idstring-
Android
iOS
tvOS

ExpoClientConfig

Type: ExpoConfig extended by:


NameTypeDescription
hostUri
(optional)
string

Only present during development using @expo/cli.

Android
iOS
tvOS

ExpoGoConfig

NameTypeDescription
debuggerHost
(optional)
string-
developer
(optional)
Record<string, any> & { tool: string }-
mainModuleName
(optional)
string-
packagerOpts
(optional)
ExpoGoPackagerOpts-
Android
iOS
tvOS

ExpoGoPackagerOpts

Type: Record<string, any> extended by:


NameTypeDescription
dev
(optional)
boolean-
hostType
(optional)
string-
lanType
(optional)
string-
minify
(optional)
boolean-
strict
(optional)
boolean-
urlRandomness
(optional)
string-
urlType
(optional)
string-
Android
iOS
tvOS

ExpoUpdatesManifest

A expo-updates manifest.

NameTypeDescription
assetsManifestAsset[]-
createdAtstring-
extra
(optional)
ManifestExtra-
idstring-
launchAssetManifestAsset-
metadataobject-
runtimeVersionstring-
Android
iOS
tvOS

ManifestAsset

NameTypeDescription
urlstring-
Android
iOS
tvOS

ManifestExtra

Type: ClientScopingConfig extended by:


NameTypeDescription
eas
(optional)
EASConfig-
expoClient
(optional)
ExpoClientConfig-
expoGo
(optional)
ExpoGoConfig-

Deprecated renamed to ExpoUpdatesManifest, will be removed in a few versions.

Android
iOS
tvOS

NewManifest

Type: ExpoUpdatesManifest