Skip to content

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

License

Notifications You must be signed in to change notification settings

eric-nextsense/installed_apps

 
 

Repository files navigation

Installed Apps

Flutter plugin with utility methods related to installed apps on device. (Currently only Android is supported.)

Getting Started

  1. Installation Guide
  2. Example

Get list of installed apps

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

*Use packageNamePrefix to filter for apps that have package name starting with certain prefix.

Get app info with package name

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

Start app with package name

InstalledApps.startApp(String packageName)

Open app settings screen (App Info) with package name

InstalledApps.openSettings(String packageName)

Check if app is system app

bool isSystemApp = await InstalledApps.isSystemApp(String packageName)

Uninstall app

bool uninstallIsSuccessful = await InstalledApps.uninstallApp(String packageName)

Check if app is installed

bool appInInstalled = await InstalledApps.isAppInstalled(String packageName)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 41.8%
  • Kotlin 41.2%
  • Ruby 8.1%
  • Objective-C 6.5%
  • Shell 2.4%