Skip to content

Sentry App Lifecycle Breadcrumbs have duplicated data #501

@chirag38-unity

Description

@chirag38-unity

Framework

Compose Multiplatform

Platform

Android

Installed

None

Version

0.23.0

Steps to Reproduce

Setup Sentry on Android with using Sentry KMP SDK

Sentry.initWithPlatformOptions(platformOptionsConfiguration())

actual fun platformOptionsConfiguration():
PlatformOptionsConfiguration = { options ->
    options.isEnableAppStartProfiling = true
    options.isEnablePerformanceV2 = true
    options.isAnrEnabled = true
    options.anrTimeoutIntervalMillis = 5_000
    options.isEnableActivityLifecycleTracingAutoFinish = true
    options.isAttachThreads = true
    options.isAttachStacktrace = true
}

NavHost(
     navController = navController.apply {
           navControllerConfig()
     },
)

navControllerConfig = {
      withSentryObservableEffect()
},

Expected Result

Breadcrumbs regarding lifecycle & navigation should not be repeated and logged only once

Actual Result

Image

Some breadcrumbs regarding App Lifecycle and Navigation get repeated

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions