getsentry / getsentry/sentry-java

User consent support

Open
#1,988 2 comments 1 reaction 0 assignees View on GitHub
Android Errors Improvement user-consent
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
67

Description

### Problem Statement

Context https://github.com/getsentry/sentry-java/issues/1752
SDK may want to capture events but not send them before the user is given consent

### Solution Brainstorm

Sentry Native already supports user consent, we can borrow the idea and do something similar https://github.com/getsentry/sentry-native/blob/a51ccbbdb00cd3042022f7df6d4e352e9ae6c0c3/src/sentry_options.c#L276-L286

Request for the same feature on iOS: https://github.com/getsentry/sentry-cocoa/issues/1780

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.