-
-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MAUI] Make it possible to programmatically decide whether to attach a screenshot or not #3353
Comments
Hi @vecalion , If you don't want screenshots at all, it is possible to turn these off in the options when initialising the SDK. Alternatively, the screenshots for an event are available (and can be altered) via the options.AttachScreenshot = true;
options.SetBeforeSend((@event, hint) =>
{
hint.Attachments.Clear();
return @event;
}); |
Thanks for the workarounds @jamescrosswell.
|
Problem Statement
Something like
BeforeCaptureCallback
in the Android version (https://docs.sentry.io/platforms/android/enriching-events/screenshots/).There are two reasons why I'm interested in this feature:
Solution Brainstorm
No response
The text was updated successfully, but these errors were encountered: