{"id":13685932,"url":"https://github.com/sharmadhiraj/installed_apps","last_synced_at":"2025-04-06T13:11:21.726Z","repository":{"id":34450883,"uuid":"178806159","full_name":"sharmadhiraj/installed_apps","owner":"sharmadhiraj","description":"Flutter plugin with utility methods related to installed apps on device.","archived":false,"fork":false,"pushed_at":"2025-03-27T15:39:06.000Z","size":268,"stargazers_count":35,"open_issues_count":25,"forks_count":55,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-27T16:38:59.660Z","etag":null,"topics":["android","apps","dart","flutter","flutter-plugin","installed","ios","kotlin","platform-channels","plugin"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/installed_apps","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sharmadhiraj.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-01T07:11:27.000Z","updated_at":"2025-03-27T15:39:08.000Z","dependencies_parsed_at":"2024-11-12T07:43:47.310Z","dependency_job_id":null,"html_url":"https://github.com/sharmadhiraj/installed_apps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharmadhiraj%2Finstalled_apps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharmadhiraj%2Finstalled_apps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharmadhiraj%2Finstalled_apps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharmadhiraj%2Finstalled_apps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sharmadhiraj","download_url":"https://codeload.github.com/sharmadhiraj/installed_apps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485287,"owners_count":20946398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","apps","dart","flutter","flutter-plugin","installed","ios","kotlin","platform-channels","plugin"],"created_at":"2024-08-02T14:00:59.449Z","updated_at":"2025-04-06T13:11:21.698Z","avatar_url":"https://github.com/sharmadhiraj.png","language":"Dart","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"# Installed Apps\n\nThe **Installed Apps** plugin for Flutter provides utility methods related to installed apps on a\ndevice.\n\nCurrently, only Android is supported.\n\n### Version Compatibility\n\nIf any functionality in the new version of the plugin doesn't work as expected, you can revert to a\nprevious version by specifying the exact version without using the caret (^) before the version\nnumber. If you encounter any issues, please raise an issue on GitHub, and I'll address it as soon as\npossible.\n\n## Getting Started\n\n1. [Installation Guide](https://pub.dev/packages/installed_apps/install)\n2. [Example Project](https://github.com/sharmadhiraj/installed_apps/tree/master/example)\n\n## Usage\n\n#### Get List of Installed Apps\n\n``` dart\nList\u003cAppInfo\u003e apps = await InstalledApps.getInstalledApps(\n\tbool excludeSystemApps,\n\tbool withIcon,\n\tString packageNamePrefix\n);\n```\n\nUse `packageNamePrefix` to filter apps with package names starting with a specific prefix.\n\n#### Get App Info with Package Name\n\n``` dart\nAppInfo app = await InstalledApps.getAppInfo(String packageName);\n```\n\n#### AppInfo model class\n\n``` dart\nclass AppInfo {\n  String name;\n  Uint8List? icon;\n  String packageName;\n  String versionName;\n  int versionCode;\n  BuiltWith builtWith;\n  int installedTimestamp;\n}\n```\n\n#### Start App with Package Name\n\n``` dart\nInstalledApps.startApp(String packageName);\n```\n\n#### Open App Settings Screen with Package Name\n\n``` dart\nInstalledApps.openSettings(String packageName);\n```\n\n#### Check if App is a System App\n\n``` dart\nbool isSystemApp = await InstalledApps.isSystemApp(String packageName);\n```\n\n#### Uninstall App\n\n``` dart\nbool uninstallIsSuccessful = await InstalledApps.uninstallApp(String packageName);\n```\n\n#### Check if App is Installed\n\n``` dart \nbool appIsInstalled = await InstalledApps.isAppInstalled(String packageName);\n```\n\n\u003chr/\u003e\n\nI'm continuously improving the plugin. If you have any feedback, issues, or suggestions, don't\nhesitate to reach out. Happy coding!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharmadhiraj%2Finstalled_apps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharmadhiraj%2Finstalled_apps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharmadhiraj%2Finstalled_apps/lists"}