device_installed_apps 1.0.1 copy "device_installed_apps: ^1.0.1" to clipboard
device_installed_apps: ^1.0.1 copied to clipboard

PlatformAndroid

Plugin for Flutter with methods related to device installed apps.

device_installed_apps #

A new Flutter plugin project.

Getting Started #

Plugin for Flutter with methods related to device installed apps.

Supported platform
Android

Installation Guide #

Usage #

Device installed apps

List<AppInfo> apps = await DeviceDeviceInstalledApps.getApps(
							String bundleIdPrefix,
							bool includeSystemApps, 
							bool includeIcon,
		      				List<String> permissions,
      						bool shouldHasAllPermissions);
copied to clipboard
Example
var permissions = ['android.permission.NFC','android.permission.ACCESS_FINE_LOCATION'];
List<AppInfo> apps = await DeviceDeviceInstalledApps.getApps(includeSystemApps: true, permissions: permissions, bundleIdPrefix: 'com.hofinity', shouldHasAllPermissions: false);
copied to clipboard

Device system apps

List<AppInfo> apps = await DeviceDeviceInstalledApps.getSystemApps(
							String bundleIdPrefix,
							bool includeIcon,
		      				List<String> permissions,
      						bool shouldHasAllPermissions);
copied to clipboard
Example
var permissions = ['android.permission.NFC','android.permission.ACCESS_FINE_LOCATION'];
List<AppInfo> apps = await DeviceDeviceInstalledApps.getSystemApps(permissions: permissions, bundleIdPrefix: 'com.hofinity', shouldHasAllPermissions: false);
copied to clipboard

Device installed apps bundleIds

List<String> apps = await DeviceDeviceInstalledApps.getAppsBundleIds(
							String bundleIdPrefix,
							bool includeSystemApps, 
							bool includeIcon,
		      				List<String> permissions,
      						bool shouldHasAllPermissions);
copied to clipboard
Example
var permissions = ['android.permission.NFC','android.permission.ACCESS_FINE_LOCATION'];
List<String> apps = await DeviceDeviceInstalledApps.getAppsBundleIds(includeSystemApps: true, permissions: permissions, bundleIdPrefix: 'com.hofinity', shouldHasAllPermissions: false);
copied to clipboard

Get an app info

AppInfo app = await DeviceInstalledApps.getAppInfo(String bundleId);
copied to clipboard

Launch an app

DeviceInstalledApps.launchApp(String bundleId);
copied to clipboard

Open app os settings

DeviceInstalledApps.openSettings(String bundleId);
copied to clipboard

Check if an app is system app

bool isSystemApp = await DeviceInstalledApps.isSystemApp(String bundleId);
copied to clipboard
30
likes
140
points
460
downloads

Publisher

verified publisherhofinity.com

Weekly Downloads

2024.10.05 - 2025.04.19

Plugin for Flutter with methods related to device installed apps.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on device_installed_apps