device_apps 1.0.1 device_apps: ^1.0.1 copied to clipboard
Plugin to get the list of applications installed on the device (Android only)
Flutter Device apps plugin #
Plugin to get the list of installed applications (iOS is not supported yet).
Getting Started #
First, you have to import the package in your dart files with:
List of installed applications #
To get the list of the apps installed on the device:
List<Application> apps = await DeviceApps.getInstalledApplications();
You can filter system apps if necessary. Note: The list of apps is not ordered!
Get an application #
To get a specific app by package name:
Application app = await DeviceApps.getApp('com.frandroid.app');
Check if an application is installed #
To check if an app is installed (via its package name):
bool isInstalled = await DeviceApps.isAppInstalled('com.frandroid.app');