From a4a1f7357ac243454cb66a847539cf91831fcabe Mon Sep 17 00:00:00 2001 From: puppylo Date: Tue, 2 Sep 2025 20:25:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=BE=D0=B5=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20MyTrackerSDKPlugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/kotlin/com/my/tracker/MyTrackerSDKPlugin.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/android/src/main/kotlin/com/my/tracker/MyTrackerSDKPlugin.kt b/sdk/android/src/main/kotlin/com/my/tracker/MyTrackerSDKPlugin.kt index 7df0324..aece06e 100644 --- a/sdk/android/src/main/kotlin/com/my/tracker/MyTrackerSDKPlugin.kt +++ b/sdk/android/src/main/kotlin/com/my/tracker/MyTrackerSDKPlugin.kt @@ -11,6 +11,7 @@ import io.flutter.embedding.engine.plugins.activity.ActivityPluginBinding import io.flutter.plugin.common.MethodCall import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.common.MethodChannel.MethodCallHandler +import io.flutter.plugin.common.MethodChannel.Result import java.lang.ref.WeakReference class MyTrackerSDKPlugin : FlutterPlugin, ActivityAware, MethodCallHandler @@ -51,7 +52,7 @@ class MyTrackerSDKPlugin : FlutterPlugin, ActivityAware, MethodCallHandler activityRef = null } - override fun onMethodCall(call: MethodCall, result: Result) + override fun onMethodCall(call: MethodCall, result: MethodChannel.Result) { val value: Any? = when (call.method) {