From 7d4abc0067a3d06626182a3c9b87b2f77fd57c29 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Wed, 29 Mar 2023 12:42:58 +0200 Subject: [PATCH 1/2] Fix enableAutoNativeBreadcrumbs and enableNativeCrashHandling sync flags --- flutter/example/ios/Runner.xcodeproj/project.pbxproj | 3 +++ flutter/ios/Classes/SentryFlutterPluginApple.swift | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/flutter/example/ios/Runner.xcodeproj/project.pbxproj b/flutter/example/ios/Runner.xcodeproj/project.pbxproj index ebd185a2ee..aae432ee5a 100644 --- a/flutter/example/ios/Runner.xcodeproj/project.pbxproj +++ b/flutter/example/ios/Runner.xcodeproj/project.pbxproj @@ -364,6 +364,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = 97JCY7859U; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -502,6 +503,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = 97JCY7859U; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -532,6 +534,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = 97JCY7859U; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", diff --git a/flutter/ios/Classes/SentryFlutterPluginApple.swift b/flutter/ios/Classes/SentryFlutterPluginApple.swift index 922ddd1a52..a8c65b7167 100644 --- a/flutter/ios/Classes/SentryFlutterPluginApple.swift +++ b/flutter/ios/Classes/SentryFlutterPluginApple.swift @@ -314,11 +314,11 @@ public class SentryFlutterPluginApple: NSObject, FlutterPlugin { } if let enableAutoNativeBreadcrumbs = arguments["enableAutoNativeBreadcrumbs"] as? Bool { - options.enableAutoBreadcrumbTracking = false + options.enableAutoBreadcrumbTracking = enableAutoNativeBreadcrumbs } if let enableNativeCrashHandling = arguments["enableNativeCrashHandling"] as? Bool { - options.enableCrashHandler = false + options.enableCrashHandler = enableNativeCrashHandling } if let maxBreadcrumbs = arguments["maxBreadcrumbs"] as? UInt { From 052b7ffa60cb1a9c098777a52297fb209b3a5b08 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Wed, 29 Mar 2023 12:43:58 +0200 Subject: [PATCH 2/2] fix --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6d149849d..545c28377e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ### Fixes - Fix `SentryUserInteractionWidget` throwing when Sentry is not enabled ([#1363](https://github.com/getsentry/sentry-dart/pull/1363)) +- Fix enableAutoNativeBreadcrumbs and enableNativeCrashHandling sync flags ([#1367](https://github.com/getsentry/sentry-dart/pull/1367)) ## 7.3.0