Is your feature request related to a problem? Please describe.
In the documentation for crash reporting (https://github.com/DataDog/dd-sdk-reactnative/blob/develop/docs/expo_crash_reporting.md#disable-file-uploads
), it appears that by changing config you can disable file uploads to the datadog api.
Although, when setting these config options and running an ios build locally (expo run:ios), an error message saying "datadog-ci" package is required and then upon installing that package and re-running the build, another error message will show regarding the environment variable DATADOG_API_KEY missing.
It is unclear from the documentation that it is always required to install @datadog/datadog-ci and have DATADOG_API_KEY set as an environment variable.
It is also perhaps not ideal for all teams to have that API key locally for engineers wanting to build their ios project locally with expo run:ios
Describe the solution you'd like
-
Clarity in the documentation as to what is required to:
- Run a build locally (Environment variables & packages required)
- Run a build in the cloud even with disabling options.
- Whether setting the configuration options affect the above.
-
Some option to disable file uploads to datadog when running a build locally for development reasons, avoiding the need for datadog api keys on local machines.
Is your feature request related to a problem? Please describe.
In the documentation for crash reporting (https://github.com/DataDog/dd-sdk-reactnative/blob/develop/docs/expo_crash_reporting.md#disable-file-uploads
), it appears that by changing config you can disable file uploads to the datadog api.
Although, when setting these config options and running an ios build locally (
expo run:ios), an error message saying "datadog-ci" package is required and then upon installing that package and re-running the build, another error message will show regarding the environment variableDATADOG_API_KEYmissing.It is unclear from the documentation that it is always required to install
@datadog/datadog-ciand haveDATADOG_API_KEYset as an environment variable.It is also perhaps not ideal for all teams to have that API key locally for engineers wanting to build their ios project locally with
expo run:iosDescribe the solution you'd like
Clarity in the documentation as to what is required to:
Some option to disable file uploads to datadog when running a build locally for development reasons, avoiding the need for datadog api keys on local machines.