Skip to content

Commit 9ee7b91

Browse files
authored
Fix enableAutoNativeBreadcrumbs and enableNativeCrashHandling sync flags (#1367)
1 parent a61674e commit 9ee7b91

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Fixes
1010

1111
- Fix `SentryUserInteractionWidget` throwing when Sentry is not enabled ([#1363](https://github.com/getsentry/sentry-dart/pull/1363))
12+
- Fix enableAutoNativeBreadcrumbs and enableNativeCrashHandling sync flags ([#1367](https://github.com/getsentry/sentry-dart/pull/1367))
1213

1314
## 7.3.0
1415

flutter/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@
364364
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
365365
CLANG_ENABLE_MODULES = YES;
366366
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
367+
DEVELOPMENT_TEAM = 97JCY7859U;
367368
ENABLE_BITCODE = NO;
368369
FRAMEWORK_SEARCH_PATHS = (
369370
"$(inherited)",
@@ -502,6 +503,7 @@
502503
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
503504
CLANG_ENABLE_MODULES = YES;
504505
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
506+
DEVELOPMENT_TEAM = 97JCY7859U;
505507
ENABLE_BITCODE = NO;
506508
FRAMEWORK_SEARCH_PATHS = (
507509
"$(inherited)",
@@ -532,6 +534,7 @@
532534
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
533535
CLANG_ENABLE_MODULES = YES;
534536
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
537+
DEVELOPMENT_TEAM = 97JCY7859U;
535538
ENABLE_BITCODE = NO;
536539
FRAMEWORK_SEARCH_PATHS = (
537540
"$(inherited)",

flutter/ios/Classes/SentryFlutterPluginApple.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,11 +314,11 @@ public class SentryFlutterPluginApple: NSObject, FlutterPlugin {
314314
}
315315

316316
if let enableAutoNativeBreadcrumbs = arguments["enableAutoNativeBreadcrumbs"] as? Bool {
317-
options.enableAutoBreadcrumbTracking = false
317+
options.enableAutoBreadcrumbTracking = enableAutoNativeBreadcrumbs
318318
}
319319

320320
if let enableNativeCrashHandling = arguments["enableNativeCrashHandling"] as? Bool {
321-
options.enableCrashHandler = false
321+
options.enableCrashHandler = enableNativeCrashHandling
322322
}
323323

324324
if let maxBreadcrumbs = arguments["maxBreadcrumbs"] as? UInt {

0 commit comments

Comments
 (0)