UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

12 lines (11 loc) 1.4 kB
export declare const pluginsBlock: (version?: string) => string; export declare const pluginsBlockKts: (version?: string) => string; export declare const plugin: (version?: string) => string; export declare const pluginKts: (version?: string) => string; export declare const manifest: (dsn: string) => string; export declare const sentryImport = "import io.sentry.Sentry;\n"; export declare const sentryImportKt = "import io.sentry.Sentry\n"; export declare const testErrorSnippet = "\n // waiting for view to draw to better represent a captured error with a screenshot\n findViewById(android.R.id.content).getViewTreeObserver().addOnGlobalLayoutListener(() -> {\n try {\n throw new Exception(\"This app uses Sentry! :)\");\n } catch (Exception e) {\n Sentry.captureException(e);\n }\n });\n"; export declare const testErrorSnippetKt = "\n // waiting for view to draw to better represent a captured error with a screenshot\n findViewById<android.view.View>(android.R.id.content).viewTreeObserver.addOnGlobalLayoutListener {\n try {\n throw Exception(\"This app uses Sentry! :)\")\n } catch (e: Exception) {\n Sentry.captureException(e)\n }\n }\n"; export declare const sourceContext: (orgSlug: string, projectSlug: string) => string; export declare const sourceContextKts: (orgSlug: string, projectSlug: string) => string;