Open brustolin opened 2 weeks ago
The proper solution for this is to extend the reportFullyDisplay
method to allow passing in an argument to tell the SDK for which UIViewController fullyDisplay is reported. We still need to figure out what this API looks like, and we should align across all mobile SDKs.
Description
There is a problem with the
reportFullDisplay
API:SentrySDK.reportFullyDisplayed
is called.This will finish TTFD for ViewControllerB, but it is still waiting for its request to respond.
Test inside SentryUIViewControllerPerformanceTrackerTests.swift from https://github.com/getsentry/sentry-cocoa/pull/4531 to reproduce the problem: