Skip to content

Commit

Permalink
move property to flutter options
Browse files Browse the repository at this point in the history
  • Loading branch information
denrase committed Oct 25, 2022
1 parent 14b157f commit ce8eb33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dart/lib/src/sentry_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,6 @@ class SentryOptions {
late SentryStackTraceFactory stackTraceFactory =
SentryStackTraceFactory(this);

/// Automatically attaches a screenshot when capturing an error or exception.
bool attachScreenshot = false;

@internal
late SentryClientAttachmentProcessor clientAttachmentProcessor =
SentryClientAttachmentProcessor();
Expand Down
3 changes: 3 additions & 0 deletions flutter/lib/src/sentry_flutter_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ class SentryFlutterOptions extends SentryOptions {
/// [SentryFlutter.setAppStartEnd].
bool autoAppStart = true;

/// Automatically attaches a screenshot when capturing an error or exception.
bool attachScreenshot = false;

/// By using this, you are disabling native [Breadcrumb] tracking and instead
/// you are just tracking [Breadcrumb]s which result from events available
/// in the current Flutter environment.
Expand Down

0 comments on commit ce8eb33

Please sign in to comment.