You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: platform-includes/enriching-events/attach-screenshots/dart.flutter.mdx
+15-19Lines changed: 15 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ await SentryFlutter.init(
15
15
16
16
## Customize Screenshot Capturing
17
17
18
-
By default, Flutter limits screenshot captures to once every 2 seconds to minimize performance impact. While this debounce interval cannot be changed, you can customize capture behavior by implementing the `beforeCaptureScreenshot` callback in your `SentryFlutterOptions`.
18
+
By default, Flutter limits screenshot captures to once every 2 seconds to minimize performance impact. While this debounce interval cannot be changed, you can customize capture behavior by implementing the `beforeCaptureScreenshot` callback in `SentryFlutter.init`.
19
19
20
20
This callback gives you fine-grained control over screenshot captures based on event and hint data, allowing you to implement conditional logic.
21
21
@@ -28,26 +28,22 @@ If you want to capture screenshots regardless of the debounce, you can ignore th
0 commit comments