Skip to content

Conversation

@Valpertui
Copy link
Contributor

PR by Bits for chat 3c8a1a71-2a6d-4120-b29f-b8759ff28ec3.

You can ask for changes by mentioning @DataDog in a comment.

Feedback (especially what can be better) welcome in #code-gen-feedback!


What and why?

Session Replay webview events from the Datadog browser SDK were missing the container.source:ios field, causing inconsistency with RUM events. This PR adds the required field to ensure proper event attribution and consistency across the SDK.

How?

Modified WebViewRecordReceiver to inject container.source:ios into each webview event before creating the WebRecord. Added comprehensive tests to verify the field is properly set on all webview replay events.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing changes
  • Add Objective-C interface for public APIs (see our guidelines (internal) and run make api-surface)

@Valpertui Valpertui requested review from a team as code owners June 27, 2025 12:06
@Valpertui Valpertui marked this pull request as draft June 27, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants