Skip to content

Commit 3715b22

Browse files
committed
update screenshots
1 parent 2e85776 commit 3715b22

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

docs/platforms/flutter/configuration/releases.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ In order to monitor release health, the SDK sends session data.
6666

6767
<Note>
6868

69-
Release health in Flutter is only available for Android and iOS and macOS.
69+
Release health in Flutter is only available for Android, iOS and macOS.
7070

7171
</Note>
7272

platform-includes/configuration/auto-session-tracking/flutter.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ By default, the session is terminated once the application is in the background
88
SentryFlutter.init((options) {
99
// Change timeout duration until session is terminated in background
1010
options.autoSessionTrackingInterval = const Duration(seconds: 60)
11-
}, appRunner: () => runApp(MyApp()));
11+
});
1212
```
1313

1414
#### Disable Auto Session Tracking
1515

16-
If you'd like to opt out of capturing sessions, set the option `enableAutoSessionTracking` to `false`.
16+
If you'd like to opt out of capturing sessions, set the option `enableAutoSessionTracking` to `false`. If you disable this feature, release health will not be available.
1717

1818
```dart
1919
SentryFlutter.init((options) {
2020
// Disable auto session tracking
2121
options.enableAutoSessionTracking = false;
22-
}, appRunner: () => runApp(MyApp()));
22+
});
2323
```

platform-includes/enriching-events/attach-screenshots/flutter.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ await SentryFlutter.init(
1515
);
1616
```
1717

18-
### Filtering Screenshots
18+
## Filtering Screenshots
1919

20-
You can filter your screenshots by using the `beforeScreenshot` callback which is called before adding a screenshot to an event.
20+
You can filter your screenshots by using the `beforeScreenshot` callback which is called before attaching a screenshot to an event. By default, the callback returns `true` which means that all screenshots are attached.
2121

2222
If the callback returns `false`, the screenshot will not be attached.
2323

24-
By default, the callback returns `true` which means that all screenshots are attached.
25-
2624
```dart
2725
await SentryFlutter.init((options) {
2826
options.beforeScreenshot = (event, {hint}) {

0 commit comments

Comments
 (0)