From 48e79fda4c32b19d5fcb1128713442ed89b33712 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com> Date: Mon, 14 Nov 2022 11:27:58 +0100 Subject: [PATCH] Disable enableUserInteractionBreadcrumbs on Android when enableAutoNativeBreadcrumbs is disabled (#1131) --- CHANGELOG.md | 18 +++++++++++++----- .../io/sentry/flutter/SentryFlutterPlugin.kt | 1 + 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f392c1d19..598582c8af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,18 @@ # Changelog +## Unreleased + +### Fixes + +- Disable `enableUserInteractionBreadcrumbs` on Android when `enableAutoNativeBreadcrumbs` is disabled ([#1131](https://github.com/getsentry/sentry-dart/pull/1131)) + ## 6.15.1 -### Various fixes & improvements +### Dependencies -- chore(deps): update Flutter SDK (metrics) to v3.3.8 (#1121) by @github-actions +- Bump Cocoa SDK from v7.30.1 to v7.30.2 ([#1113](https://github.com/getsentry/sentry-dart/pull/1113)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7302) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.30.1...7.30.2) ## 6.15.0 @@ -24,9 +32,9 @@ - Bump Android SDK from v6.6.0 to v6.7.0 ([#1105](https://github.com/getsentry/sentry-dart/pull/1105)) - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#670) - [diff](https://github.com/getsentry/sentry-java/compare/6.6.0...6.7.0) -- Bump Cocoa SDK from v7.30.0 to v7.30.2 ([#1113](https://github.com/getsentry/sentry-dart/pull/1113)) - - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7302) - - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.30.0...7.30.2) +- Bump Cocoa SDK from v7.30.0 to v7.30.1 ([#1104](https://github.com/getsentry/sentry-dart/pull/1104)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/master/CHANGELOG.md#7301) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.30.0...7.30.1) ## 6.14.0 diff --git a/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt b/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt index 542a9c7bdc..368e076671 100644 --- a/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt +++ b/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt @@ -131,6 +131,7 @@ class SentryFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware { options.isEnableAppLifecycleBreadcrumbs = it options.isEnableSystemEventBreadcrumbs = it options.isEnableAppComponentBreadcrumbs = it + options.isEnableUserInteractionBreadcrumbs = it } args.getIfNotNull("maxBreadcrumbs") { options.maxBreadcrumbs = it } args.getIfNotNull("maxCacheItems") { options.maxCacheItems = it }