-
-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Track non inApp UIViewControllers of dynamic frameworks #1848
Comments
Thanks for reporting this issue, @qinyue. We are aware of this limitation; see https://docs.sentry.io/platforms/apple/guides/ios/performance/instrumentation/automatic-instrumentation/#uiviewcontroller-instrumentation. The reason for this is that checking for all subclasses of UIViewController can be a bit expensive and therefore we only check inApp UIViewControllers. If you use static frameworks we anyways search all UIViewControllers. Maybe we can revisit our strategy and make it work for dynamically loaded libraries. |
We could swizzle classes in binary images matching |
Platform
iOS
Installed
CocoaPods
Version
7.15.0
Steps to Reproduce
options.tracesSampleRate = 1.0;
options.attachStacktrace = true;
options.sampleRate = 1.0;
options.enableAutoSessionTracking = true;
options.enableUIViewControllerTracking = true;
options.enableNetworkBreadcrumbs = false;
options.enableAutoPerformanceTracking = true;
options.enableSwizzling = true;
Expected Result
I expect to get transaction for any UIViewController in pods which are not static_framework.
Actual Result
I have not get any transaction for UIViewControllers in pods which are not static_framework.
The text was updated successfully, but these errors were encountered: