Skip to content

Commit 954778c

Browse files
committed
update
1 parent d541779 commit 954778c

File tree

2 files changed

+3
-1
lines changed
  • docs/platforms/flutter/enriching-events/screenshots
  • platform-includes/enriching-events/attach-screenshots

2 files changed

+3
-1
lines changed

docs/platforms/flutter/enriching-events/screenshots/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This feature is only available for SDKs with a user interface, like the ones for
99

1010
## Enabling Screenshots
1111

12-
Because screenshots may contain <PlatformLink to="/data-management/sensitive-data/">PII</PlatformLink>, they are an opt-in feature. You can enable screenshots as shown below:
12+
Because screenshots may contain <PlatformLink to="/data-management/sensitive-data/">PII</PlatformLink>, they are an opt-in feature.
1313

1414
<PlatformContent includePath="enriching-events/attach-screenshots" />
1515

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Enable screenshots by setting the `attachScreenshot` option to `true` and wrap your root widget with `SentryWidget(child: MyApp())`.
2+
13
```dart
24
await SentryFlutter.init(
35
(options) {

0 commit comments

Comments
 (0)