Skip to content

Report events on Android as sentry.native.android.kotlin-multiplatform #313

@bruno-garcia

Description

@bruno-garcia

Problem Statement

For events that are captured from sentry.native, that already will be set as sentry.native.android as that's set up at the Android SDK build level. Here the goal is to append "this SDK name" to the end. Resulting in what I believe will be: sentry.native.android.kotlin-multiplatform

This helps understanding where events come from and debug SDK issues more quickly

Solution Brainstorm

Similarly to:

https://github.com/getsentry/sentry-dotnet/blob/c20d16245c7e2d2f9056a49780593a391e59eda1/src/Sentry/Platforms/Android/SentrySdk.cs#L141

https://github.com/getsentry/sentry-capacitor/blob/4aceb63e6d948555ea666e8256ae153dc37e93b3/android/src/main/java/io/sentry/capacitor/SentryCapacitor.java#L40

https://github.com/getsentry/sentry-unity/blob/bee77f39ad1137cb21082721d1a2b5fa9fc6f83d/Directory.Build.targets#L191

https://github.com/getsentry/sentry-unreal/blob/d7d7973d645de4f66328d93aff673d4662be33ef/scripts/build-deps.ps1#L86

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions