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

Add screenshot to User Feedback

Open lionel-alves opened this issue 2 years ago • 1 comments

Problem Statement

### Blocked by
- [ ] https://github.com/getsentry/sentry/issues/63749
- [ ] https://github.com/getsentry/sentry-cocoa/issues/3007

Would be great to be able to add a screenshot to the User Feedback using the SDK / API. See this epic

Solution Brainstorm

Add UIImage screenshot param to the UserFeedback model.

lionel-alves avatar Feb 01 '24 14:02 lionel-alves

The Cocoa SDK doesn't offer a UI for sending user feedback. Instead, it has a method SentrySDK.captureUserfeedback. It seems like the user feedback pulls the screenshot as an attachment from the correlated event. When https://github.com/getsentry/sentry/issues/63749 is complete, we would need https://github.com/getsentry/sentry-cocoa/issues/3007 to make this happen. I agree it makes sense to add this feature, but I can't give you an ETA.

philipphofmann avatar Feb 02 '24 08:02 philipphofmann