From b4d3f68b7aae75a35e540bf9b382977ea5f705d5 Mon Sep 17 00:00:00 2001 From: Manhal khwashki <61934929+Manhal1994@users.noreply.github.com> Date: Tue, 10 Feb 2026 22:02:17 +0300 Subject: [PATCH 1/2] Update LaunchReviewPlugin.java --- .../java/com/iyaffle/launchreview/LaunchReviewPlugin.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/android/src/main/java/com/iyaffle/launchreview/LaunchReviewPlugin.java b/android/src/main/java/com/iyaffle/launchreview/LaunchReviewPlugin.java index 0a91b7c..e237a82 100644 --- a/android/src/main/java/com/iyaffle/launchreview/LaunchReviewPlugin.java +++ b/android/src/main/java/com/iyaffle/launchreview/LaunchReviewPlugin.java @@ -8,8 +8,6 @@ import io.flutter.plugin.common.MethodChannel.MethodCallHandler; import io.flutter.plugin.common.MethodChannel.Result; import io.flutter.plugin.common.MethodCall; -import io.flutter.plugin.common.PluginRegistry; - import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.ComponentName; @@ -37,10 +35,7 @@ private static LaunchReviewPlugin register(LaunchReviewPlugin plugin, BinaryMess /** * Plugin registration. */ - @SuppressWarnings("deprecation") - public static void registerWith(PluginRegistry.Registrar registrar) { - register(new LaunchReviewPlugin(), registrar.messenger(), registrar.activity()); - } + @Override public void onMethodCall(MethodCall call, Result result) { From 1372279574b7d582113f094b82cd016e477eb4f8 Mon Sep 17 00:00:00 2001 From: Manhal khwashki <61934929+Manhal1994@users.noreply.github.com> Date: Tue, 10 Feb 2026 22:26:49 +0300 Subject: [PATCH 2/2] Update LaunchReviewPlugin.java --- .../java/com/iyaffle/launchreview/LaunchReviewPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/iyaffle/launchreview/LaunchReviewPlugin.java b/android/src/main/java/com/iyaffle/launchreview/LaunchReviewPlugin.java index e237a82..ef3272d 100644 --- a/android/src/main/java/com/iyaffle/launchreview/LaunchReviewPlugin.java +++ b/android/src/main/java/com/iyaffle/launchreview/LaunchReviewPlugin.java @@ -14,8 +14,8 @@ import android.content.Intent; import android.content.pm.ResolveInfo; import android.net.Uri; -import android.content.pm.ActivityInfo; - +import android.content.pm.ActivityInfo; +import android.widget.Toast; import androidx.annotation.NonNull; import java.util.List;