Skip to content
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

Consider per-report Consent Checking #110

Closed
Tracked by #1044 ...
icedtoast opened this issue Dec 9, 2019 · 5 comments
Closed
Tracked by #1044 ...

Consider per-report Consent Checking #110

icedtoast opened this issue Dec 9, 2019 · 5 comments
Labels
enhancement New feature or request Platform: Native

Comments

@icedtoast
Copy link
Contributor

I have some patches I would like to contribute which add basic consent prompt support to Windows with crashpad.

This patchset requires patching crashpad - how do you want me to add that to your build process?

@mitsuhiko
Copy link
Member

mitsuhiko commented Dec 16, 2019

Is your idea to just defer the uploader or also to put the entire crash collection behind the consent prompt? We maintain patches to crashpad on our own repo here so you can also send a PR there: https://github.com/getsentry/crashpad/

@mitsuhiko
Copy link
Member

I added basic support in #116 but I want to see if the flow can be improved.

@icedtoast
Copy link
Contributor Author

Thanks, yes the idea is just defer uploading until consent is given.

#116 is close to what I have, although it is "global", where I was wanting support for asking consent on a per-report basis. I implemented this passing a path to a DLL which crashpad would load and then call before uploading each report.

Would that style (per-report consent) be something you were wanting to implement?
I'll have to rework my patchset in light of #116, but if you are already working in this area I'm happy to drop my local changes in favor of your solution.

@mitsuhiko
Copy link
Member

I think it would be nice to have this on a per-report basis somehow. The main problem is that since crashpad is out of process and everything else is in process it's kinda ugly to find a backend independent implementation for that.

Would be very happy to accept something though that makes it possible.

@kahest
Copy link
Member

kahest commented Dec 12, 2024

closing as superseded by newer issue with more context: #933

@kahest kahest closed this as completed Dec 12, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Mobile & Cross Platform SDK Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Platform: Native
Projects
Status: Done
Development

No branches or pull requests

4 participants