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)
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)