A library that provides types for Expo Manifests.
Android Device | Android Emulator | iOS Device | iOS Simulator | Web |
---|---|---|---|---|
-Â
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.
import * as Manifests from 'expo-manifests';
BareManifest
An embedded bare manifest.
Generated during build in createManifest.js build step script.
Name | Type | Description |
---|---|---|
assets | any[] | - |
commitTime | number | - |
id | string | - |
ClientScopingConfig
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
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. |
ExpoGoConfig
Name | Type | Description |
---|---|---|
debuggerHost (optional) | string | - |
developer (optional) | {
tool: string
} | - |
mainModuleName (optional) | string | - |
packagerOpts (optional) | ExpoGoPackagerOpts | - |
ExpoGoPackagerOpts
Name | Type | Description |
---|---|---|
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 | - |
ManifestExtra
Type: ClientScopingConfig
extended by:
Name | Type | Description |
---|---|---|
eas (optional) | EASConfig | - |
expoClient (optional) | ExpoConfig & {
hostUri: string
} | - |
expoGo (optional) | ExpoGoConfig | - |
NewManifest
A modern manifest.
Name | Type | Description |
---|---|---|
assets | ManifestAsset[] | - |
createdAt | string | - |
extra (optional) | ManifestExtra | - |
id | string | - |
launchAsset | ManifestAsset | - |
metadata | object | - |
runtimeVersion | string | - |