device_apps_plus 1.0.2 copy "device_apps_plus: ^1.0.2" to clipboard
device_apps_plus: ^1.0.2 copied to clipboard

PlatformAndroid

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 (UnsupportedError will be thrown)

Example Screenshot


๐Ÿ”ง Features #

  • isAppInstalled(String packageName) โ€“ Check if a specific app is installed
  • checkMultiple(List<String> packageNames) โ€“ Efficiently check multiple apps at once
  • openApp(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


๐Ÿ”— Resources #

1
likes
150
points
125
downloads

Publisher

verified publishernicxonsolutions.com

Weekly Downloads

A Flutter plugin to check if specific Android apps are installed on the device. Useful for deep links, onboarding, or app linking.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on device_apps_plus

Packages that implement device_apps_plus