sentry-dotnet icon indicating copy to clipboard operation
sentry-dotnet copied to clipboard

[MAUI] Make it possible to programmatically decide whether to attach a screenshot or not

Open vecalion opened this issue 9 months ago • 2 comments

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:

  1. Screenshots of some parts of the app may contain private information that is not supposed to be seen by the team monitoring issues in Sentry.
  2. There is no need to have screenshots for handled exceptions because in our case, they don't add any new information. However, since they are quite heavy, they generate a lot of unnecessary traffic for users.

Solution Brainstorm

No response

vecalion avatar May 07 '24 17:05 vecalion