with Sentry Observable Effect
fun NavHostController.withSentryObservableEffect(enableNavigationBreadcrumbs: Boolean = true, enableNavigationTracing: Boolean = true): NavHostController
Content copied to clipboard
A DisposableEffect that captures a Breadcrumb and starts an ITransaction and sends them to Sentry for every navigation event when being attached to the respective NavHostController.
Parameters
enable Navigation Breadcrumbs
Whether the integration should capture breadcrumbs for navigation events.
enable Navigation Tracing
Whether the integration should start a new ITransaction with SentryOptions.idleTimeout for navigation events.