UNPKG

@expo/config-plugins

Version:

A library for Expo config plugins

23 lines (22 loc) 1.29 kB
import { ExpoPlist } from './IosConfig.types'; import { ConfigPlugin } from '../Plugin.types'; import { ExpoConfigUpdates } from '../utils/Updates'; export declare enum Config { ENABLED = "EXUpdatesEnabled", CHECK_ON_LAUNCH = "EXUpdatesCheckOnLaunch", LAUNCH_WAIT_MS = "EXUpdatesLaunchWaitMs", RUNTIME_VERSION = "EXUpdatesRuntimeVersion", UPDATE_URL = "EXUpdatesURL", UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY = "EXUpdatesRequestHeaders", UPDATES_HAS_EMBEDDED_UPDATE = "EXUpdatesHasEmbeddedUpdate", CODE_SIGNING_CERTIFICATE = "EXUpdatesCodeSigningCertificate", CODE_SIGNING_METADATA = "EXUpdatesCodeSigningMetadata", DISABLE_ANTI_BRICKING_MEASURES = "EXUpdatesDisableAntiBrickingMeasures" } export declare const withUpdates: ConfigPlugin; /** * A config-plugin to update `ios/Podfile.properties.json` from the `updates.useNativeDebug` in expo config */ export declare const withUpdatesNativeDebugPodfileProps: ConfigPlugin<void>; export declare function setUpdatesConfigAsync(projectRoot: string, config: ExpoConfigUpdates, expoPlist: ExpoPlist, expoUpdatesPackageVersion?: string | null): Promise<ExpoPlist>; export declare function setVersionsConfigAsync(projectRoot: string, config: ExpoConfigUpdates, expoPlist: ExpoPlist): Promise<ExpoPlist>;