From 8011497fe6defb1f9789a0ff13b1edbe3f2ebe3e Mon Sep 17 00:00:00 2001 From: Stefano Date: Wed, 24 Sep 2025 17:07:59 +0200 Subject: [PATCH] removed environment variables references in Android options, as they are not used --- docs/platforms/android/configuration/options.mdx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/docs/platforms/android/configuration/options.mdx b/docs/platforms/android/configuration/options.mdx index e6152ab7a45dc..e09f89fe615ba 100644 --- a/docs/platforms/android/configuration/options.mdx +++ b/docs/platforms/android/configuration/options.mdx @@ -8,13 +8,9 @@ sidebar_order: 1 ## Core Options -Options that can be read from an environment variable (`SENTRY_DSN`, `SENTRY_ENVIRONMENT`, `SENTRY_RELEASE`) are read automatically. - -The DSN tells the SDK where to send the events. If this value is not provided, the SDK will try to read it from the `SENTRY_DSN` environment variable. If that variable also does not exist, the SDK will just not send any events. - -In runtimes without a process environment (such as the browser) that fallback does not apply. +The DSN tells the SDK where to send the events. If this value is not provided, the SDK will just not send any events. Learn more about [DSN utilization](/product/sentry-basics/dsn-explainer/#dsn-utilization). @@ -48,16 +44,12 @@ Sets the distribution of the application. Distributions are used to disambiguate Sets the release. Some SDKs will try to automatically configure a release out of the box but it's a better idea to manually set it to guarantee that the release is in sync with your deploy integrations or source map uploads. Release names are strings, but some formats are detected by Sentry and might be rendered differently. Learn more about how to send release data so Sentry can tell you about regressions between releases and identify the potential source in [the releases documentation](/product/releases/) or the sandbox. -By default the SDK will try to read this value from the `SENTRY_RELEASE` environment variable (in the browser SDK, this will be read off of the `window.SENTRY_RELEASE.id` if available). - Sets the environment. This string is freeform and not set by default. A release can be associated with more than one environment to separate them in the UI (think `staging` vs `prod` or similar). -By default the SDK will try to read this value from the `SENTRY_ENVIRONMENT` environment variable (except for the browser SDK where this is not applicable). - @@ -203,7 +195,7 @@ This only affects [automatic transactions](/platforms/android/tracing/instrument -Specifies whether this SDK should send events to Sentry. Defaults to `true`. Setting this to `enabled: false` doesn't prevent all overhead from Sentry instrumentation. To disable Sentry completely, depending on environment, call `SentryAndroid.init` conditionally. +Specifies whether this SDK should send events to Sentry. Defaults to `true`. Setting this to `enabled: false` doesn't prevent all overhead from Sentry instrumentation. To disable Sentry completely call `SentryAndroid.init` conditionally.