From 8c31a5441f63dc0c6ea7b03e368d0a9e8df9ea19 Mon Sep 17 00:00:00 2001 From: Giancarlo Buenaflor Date: Wed, 23 Apr 2025 15:48:54 +0200 Subject: [PATCH 1/5] Add data collected --- .../configuration/options.mdx | 6 ++++++ .../data-management/data-collected.mdx | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 docs/platforms/kotlin/guides/kotlin-multiplatform/data-management/data-collected.mdx diff --git a/docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx b/docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx index 20676db38e75f..9b4fae5d02656 100644 --- a/docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx +++ b/docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx @@ -20,6 +20,12 @@ Learn more about [DSN utilization](/product/sentry-basics/dsn-explainer/#dsn-uti + + +By default the SDK will not send any PII data. Set this to `true` to send PII data. + + + Turns debug mode on or off. If debug is enabled SDK will attempt to print out useful debugging information if something goes wrong with sending the event. The default is always `false`. It's generally not recommended to turn it on in production, though turning `debug` mode on will not cause any safety concerns. diff --git a/docs/platforms/kotlin/guides/kotlin-multiplatform/data-management/data-collected.mdx b/docs/platforms/kotlin/guides/kotlin-multiplatform/data-management/data-collected.mdx new file mode 100644 index 0000000000000..9bd64f625ec98 --- /dev/null +++ b/docs/platforms/kotlin/guides/kotlin-multiplatform/data-management/data-collected.mdx @@ -0,0 +1,16 @@ +--- +title: Data Collected +description: "See what data is collected by the Sentry SDK." +sidebar_order: 1 +--- + +Sentry takes data privacy very seriously and has default settings in place that prioritize data safety, especially when it comes to personally identifiable information (PII) data. When you add the Sentry SDK to your application, you allow it to collect data and send it to Sentry during the runtime of your application. + +The category types and amount of data collected vary, depending on the integrations you've enabled in the Sentry SDK. By default the Kotlin Multiplatform SDK will collect data as specified by the used native SDKs. + +Many of the categories listed require you to set `sendDefaultPii: true` in your `Sentry.init` config. + +Read the documentation of the native SDKs for more details. +- [Apple](/platforms/apple/data-management/data-collected/) +- [Android](/platforms/android/data-management/data-collected/) +- [Java](/platforms/java/data-management/data-collected/) From 6bd3ab9fa330d35f96597299a1b9210e2a269b06 Mon Sep 17 00:00:00 2001 From: Giancarlo Buenaflor Date: Thu, 24 Apr 2025 11:08:49 +0200 Subject: [PATCH 2/5] Update sendDefaultPii options to match the ones from android and ios --- .../kotlin-multiplatform/configuration/options.mdx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx b/docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx index 9b4fae5d02656..f34fc1dd21264 100644 --- a/docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx +++ b/docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx @@ -20,9 +20,19 @@ Learn more about [DSN utilization](/product/sentry-basics/dsn-explainer/#dsn-uti - + -By default the SDK will not send any PII data. Set this to `true` to send PII data. +If this flag is enabled, certain personally identifiable information (PII) is added by active integrations. By default, no such data is sent. + + + +If you are using Sentry in your mobile app, read our [frequently asked questions about mobile data privacy](/security-legal-pii/security/mobile-privacy/) to assist with Apple App Store and Google Play app privacy details. + + + +This option is turned off by default. + +If you enable this option, be sure to manually remove what you don't want to send using our features for managing [_Sensitive Data_](../../data-management/sensitive-data/). From 46926f4cfad11b2a31bebe0f66a0bbbdc4e6c6b8 Mon Sep 17 00:00:00 2001 From: Giancarlo Buenaflor Date: Fri, 25 Apr 2025 11:18:53 +0200 Subject: [PATCH 3/5] Update options.mdx --- .../guides/kotlin-multiplatform/configuration/options.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx b/docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx index f34fc1dd21264..aab3851fc61ec 100644 --- a/docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx +++ b/docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx @@ -30,6 +30,12 @@ If you are using Sentry in your mobile app, read our [frequently asked questions + + +This options is available since SDK version `0.13.0` + + + This option is turned off by default. If you enable this option, be sure to manually remove what you don't want to send using our features for managing [_Sensitive Data_](../../data-management/sensitive-data/). From a30f80d23c70befb26f3b54e6a910852a331a8c1 Mon Sep 17 00:00:00 2001 From: Giancarlo Buenaflor Date: Fri, 25 Apr 2025 11:19:59 +0200 Subject: [PATCH 4/5] Update data-collected.mdx --- .../kotlin-multiplatform/data-management/data-collected.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/platforms/kotlin/guides/kotlin-multiplatform/data-management/data-collected.mdx b/docs/platforms/kotlin/guides/kotlin-multiplatform/data-management/data-collected.mdx index 9bd64f625ec98..36b5148d5be78 100644 --- a/docs/platforms/kotlin/guides/kotlin-multiplatform/data-management/data-collected.mdx +++ b/docs/platforms/kotlin/guides/kotlin-multiplatform/data-management/data-collected.mdx @@ -10,6 +10,12 @@ The category types and amount of data collected vary, depending on the integrati Many of the categories listed require you to set `sendDefaultPii: true` in your `Sentry.init` config. + + +The `sendDefaultPii` option is available since KMP SDK version `0.13.0` + + + Read the documentation of the native SDKs for more details. - [Apple](/platforms/apple/data-management/data-collected/) - [Android](/platforms/android/data-management/data-collected/) From 7669137be60ea27663f5ae0833ee088eec4a1e1c Mon Sep 17 00:00:00 2001 From: Giancarlo Buenaflor Date: Fri, 25 Apr 2025 11:20:24 +0200 Subject: [PATCH 5/5] Update data-collected.mdx --- .../kotlin-multiplatform/data-management/data-collected.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/kotlin/guides/kotlin-multiplatform/data-management/data-collected.mdx b/docs/platforms/kotlin/guides/kotlin-multiplatform/data-management/data-collected.mdx index 36b5148d5be78..d6c807f661ecb 100644 --- a/docs/platforms/kotlin/guides/kotlin-multiplatform/data-management/data-collected.mdx +++ b/docs/platforms/kotlin/guides/kotlin-multiplatform/data-management/data-collected.mdx @@ -12,7 +12,7 @@ Many of the categories listed require you to set