Repository navigation
Conversation
Expose SentryWebViewTracing through the SentryObjC SDK as SentryObjCWebViewTracing and SentryObjCWebViewTracingOptions, with overloads for WKUserContentController, WKWebViewConfiguration, and WKWebView. Calls off the main thread return NO.
7 of 8 tasks
Contributor
|
📲 Install BuildsiOS
|
Size Analysis1 component analyzed iOS Builds
|
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 7d10643. Configure here.
antonis
marked this pull request as ready for review
October 29, 2026 13:01
antonis
requested review from
0xadam-brown,
alwx,
buenaflor,
itaybre,
philprime and
runningcode
and removed request for
a team
October 29, 2026 13:01
…-propagation-objc
1 of 6 tasks
…-propagation-objc
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📜 Description
Exposes WebView trace propagation through the SentryObjC SDK.
SentryObjCWebViewTracingOptions *options = [[SentryObjCWebViewTracingOptions alloc] initWithAllowedHosts:@[ @"app.example.com" ]]; [SentryObjCWebViewTracing addTracePropagationToWebView:webView options:options];SentryObjCWebViewTracinghas overloads forWKUserContentController,WKWebViewConfiguration, andWKWebView, and forwards toSentryWebViewTracing. The SwiftUIWebPageoverload is Swift-only.YESif the script was added. Called off the main thread, it returnsNOinstead of trapping.💡 Motivation and Context
Split out of #9474 to keep it focused on the Swift API. Public APIs need to be exposed through
SentryObjCbefore release.💚 How did you test it?
SentryObjCWebViewTracingTestsfor each overload, repeated calls, a closed SDK, and calls off the main threadSentryObjCfor iOS and ran the tests on macOS📝 Checklist
sendDefaultPIIis enabled.