\ No newline at end of file
diff --git a/example/android/.idea/modules.xml b/example/android/.idea/modules.xml
index f5c79fe..58ebf43 100644
--- a/example/android/.idea/modules.xml
+++ b/example/android/.idea/modules.xml
@@ -4,7 +4,7 @@
-
+
\ No newline at end of file
diff --git a/example/android/.idea/runConfigurations.xml b/example/android/.idea/runConfigurations.xml
deleted file mode 100644
index 7f68460..0000000
--- a/example/android/.idea/runConfigurations.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/lib/src/plugin.dart b/lib/src/plugin.dart
index 4aaeb31..91b426c 100644
--- a/lib/src/plugin.dart
+++ b/lib/src/plugin.dart
@@ -139,6 +139,14 @@ class DeviceApps {
.catchError((dynamic err) => false);
}
+ /// Get the current Launcher app's package name
+ static Future getCurrentLauncherApp() {
+ return _methodChannel
+ .invokeMethod('getCurrentLauncherApp')
+ .then((String? value) => value)
+ .catchError((dynamic err) => null);
+ }
+
/// Listen to app changes: installations, uninstallations, updates, enabled or
/// disabled. As it is a [Stream], don't hesite to filter data if the content
/// is too verbose for you