Skip to content
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

fix: do not set set session replay properties for events not in current session #10

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

crleona
Copy link
Collaborator

@crleona crleona commented Oct 2, 2024

Summary

The Amplitude-iOS middleware and Amplitude-Swift plugin get sessionId from the sdk itself, not from the latest fired event. For events like session ended that are sent with session ids that are not part of the session, we were still appending the active session replay properties, which conflicted with session replay properties from events from earlier in the session.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: no

@crleona crleona merged commit bdcb742 into main Oct 2, 2024
1 check passed
@crleona crleona deleted the fix_session_id_session_ended branch October 2, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants