Skip to content

Conversation

@kkostov
Copy link
Collaborator

@kkostov kkostov commented Jan 26, 2024

This PR changes the behaviour of the default EnvironmentMetadataProvider so that if an environment value is already set in a signal payload, it will not be overwritten.

We need this for the Flutter SDK where the flutter layer (or the user) will set some client version information.

In the iOS SDK this is known as precedence: https://github.com/TelemetryDeck/SwiftClient/blob/main/Tests/TelemetryClientTests/TelemetryClientTests.swift#L77

It will be up to every TelemetryProvider to implement the desired behaviour.

@winsmith winsmith merged commit fee0d71 into TelemetryDeck:main Feb 1, 2024
@winsmith
Copy link
Contributor

winsmith commented Feb 1, 2024

Fantastico!

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