Description
Context
The WebView trace-connection feature (see #6024) exposes a per-WebView helper (addTracePropagation(webView, allowedHosts) / WebView.sentryAddTracePropagation(...)). It is a helper, not an integration, so it does not automatically appear in the SDK's feature-adoption signal.
Problem
Without an explicit adoption marker, we can't measure how many apps enable WebView trace propagation.
Proposal
When the helper is used, register the feature so it flows into the SDK's feature-adoption channel (the integrations list reported in the SDK metadata, e.g. via SentryIntegrationPackageStorage / SdkVersion integrations), mirroring how sentry-java already reports enabled integrations. Use a marker name aligned across SDKs: WebViewTracePropagation.
Reference: React Native does this with a no-op named integration that surfaces in event.sdk.integrations — see packages/core/src/js/utils/featureMarkers.ts and the follow-up to getsentry/sentry-react-native#6794.
Acceptance criteria
- Using the WebView helper records a
WebViewTracePropagationadoption marker in the SDK's integrations/feature list sent with events. - Idempotent; fails quietly — never breaks the host app, no-op when the SDK is disabled.
- Covered by a test asserting the marker is present.
Cross-SDK alignment
Keep the marker name identical across React Native, Apple (getsentry/sentry-cocoa#8897), Android (#6024), and Flutter.
Activity
linear-code commentedon Oct 23, 2026
JAVA-796
github-actions commentedon Nov 11, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #6395, which was included in the 8.64.0 release.