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

Send buffer mode replay when displaying user feedback widget

Open philprime opened this issue 6 months ago • 0 comments

Description

The documentation states that the user feedback widget should send the current buffer mode replay when being displayed:

https://docs.sentry.io/platforms/apple/user-feedback/#session-replay

After an internal discussion with @bruno-garcia and @stefanosiano, we discovered that this is needs clarification in the develop docs (see this PR) and also needs to be implemented for this SDK.

Manual testing has discovered that displaying the user feedback widget will not send any replays, and also submitting will not send any replays.

I believe this is caused by the filtering for events here:

https://github.com/getsentry/sentry-cocoa/blob/2e790c65299f50859e726bdbaa93dafe178bf2fb/Sources/Swift/Integrations/SessionReplay/SentrySessionReplay.swift#L134-L153

philprime avatar Jun 17 '25 10:06 philprime