installed_apps 1.6.0 copy "installed_apps: ^1.6.0" to clipboard
installed_apps: ^1.6.0 copied to clipboard

PlatformAndroid

Flutter plugin with utility methods related to installed apps on device.

Installed Apps #

The Installed Apps plugin for Flutter provides utility methods related to installed apps on a device.

Currently, only Android is supported.

Version Compatibility #

If any functionality in the new version of the plugin doesn't work as expected, you can revert to a previous version by specifying the exact version without using the caret (^) before the version number. If you encounter any issues, please raise an issue on GitHub, and I'll address it as soon as possible.

Getting Started #

  1. Installation Guide
  2. Example Project

Usage #

Get List of Installed Apps

List<AppInfo> apps = await InstalledApps.getInstalledApps(
	bool excludeSystemApps,
	bool withIcon,
	String packageNamePrefix
);
copied to clipboard

Use packageNamePrefix to filter apps with package names starting with a specific prefix.

Get App Info with Package Name

AppInfo app = await InstalledApps.getAppInfo(String packageName);
copied to clipboard

AppInfo model class

class AppInfo {
  String name;
  Uint8List? icon;
  String packageName;
  String versionName;
  int versionCode;
  BuiltWith builtWith;
  int installedTimestamp;
}
copied to clipboard

Start App with Package Name

InstalledApps.startApp(String packageName);
copied to clipboard

Open App Settings Screen with Package Name

InstalledApps.openSettings(String packageName);
copied to clipboard

Check if App is a System App

bool isSystemApp = await InstalledApps.isSystemApp(String packageName);
copied to clipboard

Uninstall App

bool uninstallIsSuccessful = await InstalledApps.uninstallApp(String packageName);
copied to clipboard

Check if App is Installed

bool appIsInstalled = await InstalledApps.isAppInstalled(String packageName);
copied to clipboard

I'm continuously improving the plugin. If you have any feedback, issues, or suggestions, don't hesitate to reach out. Happy coding!

110
likes
160
points
16.2k
downloads

Publisher

verified publishersharmadhiraj.com

Weekly Downloads

2024.09.19 - 2025.04.03

Flutter plugin with utility methods related to installed apps on device.

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on installed_apps