I have made a custom UI that pops up to submit user feedback. After the feedback is submitted, an event is immediately captured and sent to Sentry. However, every transaction shows the UIViewController that was made specifically to take the bug report, which is not helpful in finding out which was the top-most view controller on the stack where the user encountered an issue.
Is there a way to pop off the most-recent view controller in this case? If not, any ideas for a workaround? I tried capturing the event prior to the “bug report” UI popping up, but that UI is still registered as the most recent transaction when the user feedback is attached to that event.