xdl
Version:
The Expo Development Library
18 lines (17 loc) • 791 B
TypeScript
import { ExpoConfig } from '@expo/config';
export declare function isDebug(): boolean;
export declare function isStaging(): boolean;
export declare function isLocal(): boolean;
export declare function getFeatureGateOverrides(): {
enable: string[];
disable: string[];
};
export declare function isInterstitiaLPageEnabled(): boolean;
export declare function maySkipManifestValidation(): boolean;
/**
* Returns true if we should use Metro using its JS APIs via @expo/dev-server (the modern and fast
* way), false if we should fall back to spawning it as a subprocess (supported for backwards
* compatibility with SDK39 and older).
*/
export declare function shouldUseDevServer(exp: Pick<ExpoConfig, 'sdkVersion'>): boolean;
export declare function shouldEnableAnalytics(): boolean;