sentry-java: Cannot remove default integrations, i.e. `TempSensorBreadcrumbsIntegration`

Integration

sentry-android

Build System

Gradle

AGP Version

latest

Proguard

Enabled

Version

latest

Steps to Reproduce

Hi, I have to remove TempSensorBreadcrumbsIntegration integration, because otherwise app is rejected by stores since it reads privacy data. However, I have not seen a way to remove it (there is no things as removeIntegration etc).

Expected Result

Actual Result

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

Oh no, definitely a regression, @romtsn @markushi ^

Totally agree. Not sure why I was so stupid when checking it 😃

@marandaneto You are right =P

P.S. My mind seemed to be wrong to Android before, because IIRC the dart integrations are not removeable (use something like UnmodifiableListView the last time I check it) and I wrongly thought it was Android

You can mutate the Flutter integrations as well. SentryOptions#removeIntegration(integration)

@marandaneto Get it, sorry for that. Originally I thought this is Android while that is Flutter…

By the way, the two issues have different answers that are both helpful and needed to be combined indeed 😃