package_install_checker 0.0.3 copy "package_install_checker: ^0.0.3" to clipboard
package_install_checker: ^0.0.3 copied to clipboard

PlatformAndroid

A Flutter plugin that checks if a specific package (app) is installed on an Android device.

Package Install Checker #

A Flutter plugin that checks if a specific package (app) is installed on an Android device.

Supported Platforms #

  • ✅ Android
  • ❌ iOS (not currently supported)

Installation #

flutter pub add package_install_checker

Usage #

Android #

Add the following <queries> element to your AndroidManifest.xml file:

<queries>
    <intent>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent>
</queries>
import 'package:package_install_checker/package_install_checker.dart';

// Check if a specific package is installed
bool isInstalled = await PackageInstallChecker.isPackageInstalled('com.android.chrome');

Notes #

  • This package does not use the QUERY_ALL_PACKAGES permission, which can cause rejection during Play Store review.

License #

This project is distributed under the license terms.

1
likes
160
points
239
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin that checks if a specific package (app) is installed on an Android device.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on package_install_checker

Packages that implement package_install_checker