class SentryService : CrashReporterService (source)
A CrashReporterService implementation that uploads crash reports to a Sentry server.
context - The application Context.
dsn - Data Source Name of the Sentry server.
tags - A list of additional tags that will be sent together with crash reports.
SentryService(context: Context, dsn: String, tags: Map<String, String> = emptyMap(), sendEventForNativeCrashes: Boolean = false, clientFactory: SentryClientFactory = AndroidSentryClientFactory(context))
A CrashReporterService implementation that uploads crash reports to a Sentry server. |
fun report(crash: UncaughtExceptionCrash): Unit
Submits a crash report for this Crash.UncaughtExceptionCrash. fun report(crash: NativeCodeCrash): Unit
Submits a crash report for this Crash.NativeCodeCrash. |