create-expo-module
Version:
The script to create the Expo module
19 lines (18 loc) • 659 B
TypeScript
/**
* List of known public Apple framework names.
* Using one of these names for a module podspec will cause build conflicts on iOS.
* @see https://developer.apple.com/documentation/technologies
*/
export declare const APPLE_FRAMEWORKS: Set<string>;
/**
* Checks if the given name conflicts with an Apple framework.
*/
export declare function isAppleFramework(name: string): boolean;
/**
* Returns a safe module name by prefixing with "Expo" if it conflicts with an Apple framework.
* Returns the original name and whether it was renamed.
*/
export declare function ensureSafeModuleName(name: string): {
name: string;
wasRenamed: boolean;
};