UNPKG

@expo/xdl

Version:
26 lines (25 loc) 1.06 kB
import { ExpoAppManifest, PackageJSONConfig, ProjectTarget } from '@expo/config'; export declare type EmbeddedAssetsConfiguration = { projectRoot: string; pkg: PackageJSONConfig; exp: ExpoAppManifest; releaseChannel?: string; iosManifestUrl: string; iosManifest: any; iosBundle: string; iosSourceMap: string | null; androidManifestUrl: string; androidManifest: any; androidBundle: string; androidSourceMap: string | null; target: ProjectTarget; }; export declare function configureAsync(config: EmbeddedAssetsConfiguration): Promise<void>; export declare function getEmbeddedManifestPath(platform: 'ios' | 'android', projectRoot: string, exp: ExpoAppManifest): string; export declare function shouldEmbedAssetsForExpoUpdates(projectRoot: string, exp: ExpoAppManifest, pkg: PackageJSONConfig, target: ProjectTarget): boolean; export declare function getIOSPaths(projectRoot: string): { projectName: string; iosProjectDirectory: string; iosSupportingDirectory: string; iconPath: string; };