apple-targets-hugo-patch
Version:
Generate Apple Targets with Expo Prebuild
26 lines (25 loc) • 957 B
TypeScript
import { ConfigPlugin } from "@expo/config-plugins";
import { ExtensionType } from "./target";
export type XcodeSettings = {
name: string;
/** Name used for internal purposes. This has more strict rules and should be generated. */
productName: string;
/** Directory relative to the project root, (i.e. outside of the `ios` directory) where the widget code should live. */
cwd: string;
bundleId: string;
deploymentTarget: string;
currentProjectVersion: number;
frameworks: string[];
type: ExtensionType;
hasAccentColor?: boolean;
colors?: Record<string, any>;
teamId?: string;
icon?: string;
exportJs?: boolean;
/** File path to the extension config file. */
configPath: string;
orientation?: "default" | "portrait" | "landscape";
deviceFamilies?: DeviceFamily[];
};
export type DeviceFamily = "phone" | "tablet";
export declare const withXcodeChanges: ConfigPlugin<XcodeSettings>;