getsentry / sentry-dotnet

Sentry SDK for .NET
https://docs.sentry.io/platforms/dotnet
MIT License
578 stars 206 forks source link

User Consent support #1603

Open mattjohnsonpint opened 2 years ago

mattjohnsonpint commented 2 years ago

Problem Statement

It should be easier to create a "User Consent" workflow, where events are only sent to Sentry after a user approves the specific events.

Solution Brainstorm

This would be similar to https://github.com/getsentry/sentry-java/issues/1988 and https://github.com/getsentry/sentry-cocoa/issues/1780

mattjohnsonpint commented 2 years ago

There was some discussion about this previously with https://github.com/getsentry/sentry-dotnet/issues/80#issuecomment-419818502 and with #941 - though in both cases that's requiring a lot of work on the implementer's part.

bruno-garcia commented 2 years ago

https://www.notion.so/sentry/User-Consent-Requirements-ba63b834cfe24501866ba2957a9e7184

mattjohnsonpint commented 2 years ago

Just to add, this is also about capturing user feedback - not just consent. We already have a clear path for capturing feedback in a web app (via the browser SDK, as in our MVC sample app), but we don't have anything similar that would work for a desktop app.

vaind commented 1 year ago

FYI this is a P1 in https://github.com/getsentry/team-mobile/issues/24 while being a P2 here

mattjohnsonpint commented 1 year ago

Updated priority of this. Though it's generally ok if such things are not synchronized, as priority is rather flexible and is relative to other items on each repo.

mattjohnsonpint commented 1 year ago

Need to investigate and validate approach before we can continue.