-
-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issue leaked IntentReceiver for SystemEventBreadcrumbsIntegration #3658
Comments
@mayananand369 thanks for reporting! This indeed looks like a bug on our end. In the meantime you can init the Sentry SDK by using the application context, like this: SentryAndroid.init(context.getApplicationContext(), ... |
@markushi i have already init the Sentry SDK like this. Thanks |
@mayananand369 are you sure? As far as I can see from your screenshots your |
@markushi okay. I got your point. Thanks for pointing this out. I passed |
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:
Following is the entry point of my app
CheckInternetAndSessionActivity
where i have configured sentry:Expected Result
There should not be any error regarding this.
Actual Result
The text was updated successfully, but these errors were encountered: