diff --git a/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt b/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt index 00819cc1ed..492638dffc 100644 --- a/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt +++ b/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt @@ -42,7 +42,7 @@ class SentryFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware { private val flutterSdk = "sentry.dart.flutter" private val androidSdk = "sentry.java.android.flutter" - private val nativeSdk = "sentry.native.android" + private val nativeSdk = "sentry.native.android.flutter" override fun onAttachedToEngine(flutterPluginBinding: FlutterPlugin.FlutterPluginBinding) { context = flutterPluginBinding.applicationContext @@ -182,6 +182,7 @@ class SentryFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware { options.sdkVersion = sdkVersion options.sentryClientName = "$androidSdk/$VERSION_NAME" + options.nativeSdkName = nativeSdk options.setBeforeSend { event, _ -> setEventOriginTag(event)