Skip to content

Commit c773e9d

Browse files
authored
Add data collected page for KMP (#13485)
Part of getsentry/team-sdks#82
1 parent 13cc1aa commit c773e9d

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

docs/platforms/kotlin/guides/kotlin-multiplatform/configuration/options.mdx

+22
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,28 @@ Learn more about [DSN utilization](/product/sentry-basics/dsn-explainer/#dsn-uti
2020

2121
</ConfigKey>
2222

23+
<ConfigKey name="send-default-pii">
24+
25+
If this flag is enabled, certain personally identifiable information <PlatformLink to="/data-management/data-collected/">(PII)</PlatformLink> is added by active integrations. By default, no such data is sent.
26+
27+
<Alert>
28+
29+
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.
30+
31+
</Alert>
32+
33+
<Alert>
34+
35+
This options is available since SDK version `0.13.0`
36+
37+
</Alert>
38+
39+
This option is turned off by default.
40+
41+
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/).
42+
43+
</ConfigKey>
44+
2345
<ConfigKey name="debug">
2446

2547
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.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Data Collected
3+
description: "See what data is collected by the Sentry SDK."
4+
sidebar_order: 1
5+
---
6+
7+
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.
8+
9+
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.
10+
11+
Many of the categories listed require you to set <PlatformLink to="/configuration/options/#send-default-pii">`sendDefaultPii: true`</PlatformLink> in your `Sentry.init` config.
12+
13+
<Alert>
14+
15+
The `sendDefaultPii` option is available since KMP SDK version `0.13.0`.
16+
17+
</Alert>
18+
19+
Read the documentation of the native SDKs for more details.
20+
- [Apple](/platforms/apple/data-management/data-collected/)
21+
- [Android](/platforms/android/data-management/data-collected/)
22+
- [Java](/platforms/java/data-management/data-collected/)

0 commit comments

Comments
 (0)