From bdb056f5ce1e7756078994e7652b6ba9da998db3 Mon Sep 17 00:00:00 2001 From: Andy Zolyak Date: Fri, 18 Feb 2022 23:25:49 -0500 Subject: [PATCH] Hide local scopes from Android, show Kotlin Local scopes are not supported on Android, but the documentation for them still shows up anyways. Conversely, information about the Kotlin extensions is missing, but many Android apps make heavy use of Kotlin and Coroutines, so this section should be displayed. --- src/platforms/common/enriching-events/scopes.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/platforms/common/enriching-events/scopes.mdx b/src/platforms/common/enriching-events/scopes.mdx index 74323dfebebdff..f4d5c9ddb1af0e 100644 --- a/src/platforms/common/enriching-events/scopes.mdx +++ b/src/platforms/common/enriching-events/scopes.mdx @@ -83,6 +83,8 @@ You can also apply this configuration when unsetting a user at logout: To learn what useful information can be associated with scopes see [the context documentation](../context/). + + ## Local Scopes We also support pushing and configuring a scope within a single call. This is typically @@ -107,7 +109,7 @@ Any exceptions that occur within the callback function for `with-scope` will not caught and all errors that occur will be silently ignored and *not* repoted. - + ## Kotlin Coroutines @@ -146,4 +148,3 @@ launch(SentryContext()) { } } ``` -