UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

17 lines (16 loc) 913 B
import { RNCliSetupConfigContent } from './react-native-wizard'; export declare const SENTRY_EXPO_PLUGIN_NAME = "@sentry/react-native/expo"; export declare const DEPRECATED_SENTRY_EXPO_PLUGIN_NAME = "sentry-expo"; export declare const SENTRY_PLUGIN_FUNCTION_NAME = "withSentry"; export interface AppConfigJson { expo?: { plugins?: Array<[string, undefined | Record<string, unknown>]>; }; } export declare function printSentryExpoMigrationOutro(): void; /** * Finds app.json in the project root and add Sentry Expo `withSentry` plugin. */ export declare function patchExpoAppConfig(options: RNCliSetupConfigContent): Promise<void>; export declare function addWithSentryToAppConfigJson(appConfigContent: string, options: RNCliSetupConfigContent): string | null; export declare function getSentryAppConfigJsonCodeSnippet({ url, project, org, }: Omit<RNCliSetupConfigContent, 'authToken'>): string;