HomeGuidesReferenceLearn

Reference version

ArchiveExpo SnackDiscord and ForumsNewsletter

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 (bare workflow), start by installing expo in your project. Then, follow the additional instructions as mentioned by library's README under "Installation in bare React Native projects" section.

API

import * as Manifests from 'expo-manifests';

Interfaces

ManifestAsset

ManifestAsset Properties

NameTypeDescription
urlstring-

Types

Deprecated renamed to EmbeddedManifest, will be removed in a few versions

BareManifest

Type: EmbeddedManifest

See: EmbeddedManifest

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.

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.

EmbeddedManifest

An embedded manifest.

Generated during build in createManifest.js build step script.

NameTypeDescription
assetsany[]-
commitTimenumber-
idstring-

ExpoGoConfig

NameTypeDescription
debuggerHost
(optional)
string-
developer
(optional)
{ tool: string }-
mainModuleName
(optional)
string-
packagerOpts
(optional)
ExpoGoPackagerOpts-

ExpoGoPackagerOpts

NameTypeDescription
dev
(optional)
boolean-
hostType
(optional)
string-
lanType
(optional)
string-
minify
(optional)
boolean-
strict
(optional)
boolean-
urlRandomness
(optional)
string-
urlType
(optional)
string-
key
(index signature)
string-

ExpoUpdatesManifest

A expo-updates manifest.

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

ManifestExtra

Type: ClientScopingConfig extended by:


NameTypeDescription
eas
(optional)
EASConfig-
expoClient
(optional)
ExpoConfig & { hostUri: string }-
expoGo
(optional)
ExpoGoConfig-

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

NewManifest

Type: ExpoUpdatesManifest

See: ExpoUpdatesManifest