Skip to content

Commit f1147e8

Browse files
bruno-garciastephanie-anderson
authored andcommitted
sdk.name for hybrid sdks (#832)
* sdk.name for hybrid sdks * Apply suggestions from code review
1 parent 974be1a commit f1147e8

File tree

1 file changed

+18
-0
lines changed
  • develop-docs/sdk/event-payloads

1 file changed

+18
-0
lines changed

develop-docs/sdk/event-payloads/sdk.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,24 @@ ecosystem. Official Sentry SDKs use the _entity_ `sentry`. Examples:
1919
- `sentry.python`
2020
- `sentry.javascript.react-native`
2121

22+
For SDKs that are composed of more than one Sentry SDK. For example, [the Unity SDK](https://github.com/getsentry/sentry-unity/issues/616)
23+
which includes a .NET layer as well as different native layers. When events come out
24+
of the native layer, it's important to distinguish from the stand-alone native SDK.
25+
We do that by appending the top SDK to the end of the native SDK name. Examples:
26+
27+
Unity SDK:
28+
29+
- `sentry.dotnet.unity` on events coming from C#. As based on the spec above.
30+
- `sentry.java.android.unity` on for events of the Java layer on Android
31+
- `sentry.native.android.unity` on for events of the Native layer on Android
32+
- `sentry.cocoa.unity` on for events from iOS/macOS layer
33+
- `sentry.native.unity` on for events coming from `sentry.native` directly. Such as on Windows and Linux.
34+
35+
Android SDK
36+
37+
- `sentry.java.android` on events from the Java layer. Since the Android SDK is based on the Java SDK.
38+
- `sentry.native.android` on events from NDK. It's `sentry.native` but it's bundled in the Android SDK with some customization.
39+
2240
`version`
2341

2442
: **Required**. The version of the SDK. It should have the [Semantic

0 commit comments

Comments
 (0)