device_installed_apps

Creator: coderz1093

Last updated:

Add to Cart

Description:

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

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.