getsentry / getsentry/sentry-cocoa
User Consent - Allow manual sending of events
Open
Cocoa
Errors
Feature
- Dominant language
- Swift
- Stars
- 1.1k
- Forks
- 418
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 106
Description
### Problem Statement
Currently sending of events seems to be fully automatic.
I want to ask my users for consent before sending the crash report.
### Solution Brainstorm
I'm interested in the SDKs for Java, iOS & macOS.
[Crashlytics]() has the following methods:
* `setCrashlyticsCollectionEnabled(boolean enabled)` to enable automatic sending of events
* `checkForUnsentReports()` to check if I should show a promt asking the user
* `sendUnsentReports()` to send the report (after the user aggreed to)
* `deleteUnsentReports()` to delete them if the user does not want to send the report
Contributor guide
Assessment
This issue has not been assessed yet.