Skip to content

Fix issue leaked IntentReceiver for SystemEventBreadcrumbsIntegration #3658

@mayananand369

Description

@mayananand369

Integration

sentry-android

Build System

Gradle

AGP Version

8.2.2

Proguard

Disabled

Version

7.8.0

Steps to Reproduce

When i run the app with the following configurations(as shown in the image attached), it shows the Leaked Intent receiver error for io.sentry.android.core.SystemEventsBreadcrumbsIntegrations$SystemEventsBroadcastReceiver

Following is my SentryLogger class:
Image

Following is the entry point of my app CheckInternetAndSessionActivity where i have configured sentry:
Image

Expected Result

There should not be any error regarding this.

Actual Result

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssue type

    Projects

    Status

    Done

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions