device_apps_plus 1.0.2
device_apps_plus: ^1.0.2 copied to clipboard
A Flutter plugin to check if specific Android apps are installed on the device. Useful for deep links, onboarding, or app linking.
๐ฑ Device Apps Plus #
A Flutter plugin to check whether specific Android apps are installed on the user's device.
- โ Supports Android SDK 21 and above
- โ Not supported on iOS (
UnsupportedErrorwill be thrown)

๐ง Features #
isAppInstalled(String packageName)โ Check if a specific app is installedcheckMultiple(List<String> packageNames)โ Efficiently check multiple apps at onceopenApp(String packageName)โ Launch an installed app from your Flutter code (added in 1.0.2)
๐ Getting Started #
1. Add Dependency #
In your app's pubspec.yaml:
dependencies:
device_apps_plus: ^1.0.2
2. Use the Plugin #
import 'package:device_apps_plus/device_apps_plus.dart';
final checker = DeviceAppsPlus();
// Single app
bool installed = await checker.isAppInstalled("irando.co.id.holy_bible");
// Multiple apps
final results = await checker.checkMultiple([
"irando.co.id.holy_bible",
"com.facebook.katana",
"com.instagram.android",
"com.nonexistent.app",
]);
results.forEach((pkg, isInstalled) {
debugPrint('$pkg: ${isInstalled ? "Installed" : "Not Installed"}');
});
// Open an installed app (returns false if not found)
bool opened = await checker.openApp("irando.co.id.holy_bible");
โ ๏ธ Android Manifest Setup #
To support app queries on Android 11+ (API 30+), add the following to your AndroidManifest.xml:
<manifest ...>
<queries>
<package android:name="irando.co.id.holy_bible" />
<package android:name="com.facebook.katana" />
<package android:name="com.instagram.android" />
<!-- Add any other packages your app checks for -->
</queries>
</manifest>
๐ This is required due to Android package visibility restrictions introduced in API 30.
๐ฆ Platform Support #
| Platform | Support |
|---|---|
| Android | โ SDK 21โ36 |
| iOS | โ Not supported |
๐งช Example Output #
Platform: Android 15
โ
isAppInstalled('irando.co.id.holy_bible') = true
๐ฆ checkMultiple:
irando.co.id.holy_bible: โ๏ธ
com.facebook.katana: โ
com.instagram.android: โ๏ธ
com.nonexistent.app: โ
๐ License #
MIT