-
-
Notifications
You must be signed in to change notification settings - Fork 461
Description
Integration
sentry-android
Build System
Gradle
AGP Version
latest
Proguard
Enabled
Version
latest
Steps to Reproduce
Last time I submitted #2355 which caused apps rejected by stores, the solution was to do something like:
SentryAndroid.init(context) { options ->
options.integrations.removeAll { it is TempSensorBreadcrumbsIntegration }
}
However, that does not work after I upgrade Sentry. Indeed, that issue was solved at 2022.11.14, while the code that breaks the solution was created at 2022.11.18 (what a short time!) at #2377.
As you can see, with that PR, the configure callback is executed before the TempSensorBreadcrumbsIntegration has a chance to be added to the integrations.
sentry-java/sentry-android-core/src/main/java/io/sentry/android/core/SentryAndroid.java
Lines 111 to 113 in f274c79
| configuration.configure(options); | |
| AndroidOptionsInitializer.initializeIntegrationsAndProcessors( |
Therefore, I would appreciate it if this could be fixed. For example, we can add something similar to isEnableSystemEventBreadcrumbs, but specific to temperature sensor.
Expected Result
Actual Result
Metadata
Metadata
Assignees
Labels
Projects
Status
Status