Skip to content

Ability to change environment at Runtime #119

@TheXRMonk

Description

@TheXRMonk

Feature description

Many release workflows with unity follows a promotion workflow, where the build binary is promoted through different environments. Right now there's no way to "wait" with initializing the datadog client (from DatadogInitialization in DatadogAndroidPlatform.cs), until we have acquired the environment from our launch flow. And even when we get the environment, there's no way to change the settings/options that the Datadog client runs under after it has been initialized.

Proposed solution

For changing environment at runtime: It would be beneficial to have an "invalid" environment and stack up messages (like the SDK does when the user's Permission is pending), and then send once permission has been granted and environment has been set.

Other relevant information

This was already discussed here;
#103 (comment)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions