A new Flutter plugin project.
Plugin for Flutter with methods related to device installed apps.
| Supported platform |
|---|
| Android |
List<AppInfo> apps = await DeviceDeviceInstalledApps.getApps(
String bundleIdPrefix,
bool includeSystemApps,
bool includeIcon,
List<String> permissions,
bool shouldHasAllPermissions);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);List<AppInfo> apps = await DeviceDeviceInstalledApps.getSystemApps(
String bundleIdPrefix,
bool includeIcon,
List<String> permissions,
bool shouldHasAllPermissions);var permissions = ['android.permission.NFC','android.permission.ACCESS_FINE_LOCATION'];
List<AppInfo> apps = await DeviceDeviceInstalledApps.getSystemApps(permissions: permissions, bundleIdPrefix: 'com.hofinity', shouldHasAllPermissions: false);List<String> apps = await DeviceDeviceInstalledApps.getAppsBundleIds(
String bundleIdPrefix,
bool includeSystemApps,
bool includeIcon,
List<String> permissions,
bool shouldHasAllPermissions);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);AppInfo app = await DeviceInstalledApps.getAppInfo(String bundleId);DeviceInstalledApps.launchApp(String bundleId);DeviceInstalledApps.openSettings(String bundleId);bool isSystemApp = await DeviceInstalledApps.isSystemApp(String bundleId);