UNPKG

expo-shopify-performance

Version:

Config plugin to setup @shopify/react-native-performance on prebuild

24 lines (23 loc) 800 B
/** * Constants for the Shopify Performance Expo plugin */ export declare const IOS: { /** Import statement for iOS implementation */ IMPORT_STATEMENT: string; /** Method call to initialize performance tracking on iOS */ INIT_METHOD_CALL: string; /** Regex to match AppDelegate.h import */ IMPORT_REGEX: RegExp; /** Regex to match didFinishLaunchingWithOptions method */ LAUNCH_METHOD_REGEX: RegExp; }; export declare const ANDROID: { /** Import statement for Android implementation */ IMPORT_STATEMENT: string; /** Method call to initialize performance tracking on Android */ INIT_METHOD_CALL: string; /** Regex to match package declaration */ PACKAGE_REGEX: RegExp; /** Regex to match onCreate method */ ON_CREATE_REGEX: RegExp; };