Skip to content

Commit 7c07e52

Browse files
authored
moved note from snippets into common content (#5720)
1 parent 0b28ded commit 7c07e52

File tree

5 files changed

+14
-24
lines changed

5 files changed

+14
-24
lines changed

src/platform-includes/enriching-events/set-user/android.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,3 @@ val user = User().apply {
1616
}
1717
Sentry.setUser(user)
1818
```
19-
20-
<Note>
21-
22-
If you do not provide a user identity, the SDK falls back to `installationId`, which the SDK randomly generates once during an app's installation.
23-
24-
</Note>

src/platform-includes/enriching-events/set-user/apple.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,3 @@ SentryUser *user = [[SentryUser alloc] init];
1313
user.email = @"[email protected]";
1414
[SentrySDK setUser:user];
1515
```
16-
17-
<Note>
18-
19-
Since 6.0.1: If you do not provide a user identity, the SDK falls back to `installationId`, which the SDK randomly generates once during an app's installation.
20-
21-
</Note>

src/platform-includes/enriching-events/set-user/flutter.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,3 @@ Sentry.configureScope(
55
(scope) => scope.setUser(SentryUser(id: '1234', email: '[email protected]')),
66
);
77
```
8-
9-
<Note>
10-
11-
If you do not provide a user identity, the SDK falls back to `installationId`, which the SDK randomly generates once during an app's installation.
12-
13-
</Note>
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
```javascript
22
Sentry.setUser({ email: "[email protected]" });
33
```
4-
5-
<Note>
6-
7-
If you do not provide a user identity, the SDK falls back to `installationId`, which the SDK randomly generates once during an app's installation.
8-
9-
</Note>

src/platforms/common/enriching-events/identify-user.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,28 @@ Users consist of a few critical pieces of information that construct a unique id
1717

1818
### `id`
1919

20+
<Note>
21+
22+
If you don't provide an `id`, the SDK falls back to `installationId`, which the SDK randomly generates once during an app's installation.
23+
24+
</Note>
25+
2026
Your internal identifier for the user.
27+
2128
</PlatformSection>
2229

2330
<PlatformSection supported={["apple"]}>
2431

2532
### `userId`
2633

34+
<Note>
35+
36+
Since version 6.0.1, if you don't provide a `userId`, the SDK falls back to `installationId`, which the SDK randomly generates once during an app's installation.
37+
38+
</Note>
39+
2740
Your internal identifier for the user.
41+
2842
</PlatformSection>
2943

3044
### `username`

0 commit comments

Comments
 (0)