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.

BareManifest

Android
iOS
tvOS

Type: EmbeddedManifest

ClientScopingConfig

Android
iOS
tvOS
PropertyTypeDescription
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

Android
iOS
tvOS
PropertyTypeDescription
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

Android
iOS
tvOS

An embedded manifest.

Generated during build in createManifest.js build step script.

PropertyTypeDescription
assetsany[]-
commitTimenumber-
idstring-

ExpoClientConfig

Android
iOS
tvOS

Type: ExpoConfig extended by:

PropertyTypeDescription
hostUri(optional)string

Only present during development using @expo/cli.

ExpoGoConfig

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

ExpoGoPackagerOpts

Android
iOS
tvOS

Type: Record<string, any> extended by:

PropertyTypeDescription
dev(optional)boolean-
hostType(optional)string-
lanType(optional)string-
minify(optional)boolean-
strict(optional)boolean-
urlRandomness(optional)string-
urlType(optional)string-

ExpoUpdatesManifest

Android
iOS
tvOS

A expo-updates manifest.

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

ManifestAsset

Android
iOS
tvOS
PropertyTypeDescription
urlstring-

ManifestExtra

Android
iOS
tvOS

Type: ClientScopingConfig extended by:

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

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

NewManifest

Android
iOS
tvOS

Type: ExpoUpdatesManifest