App Install Checker plugin for Flutter
A Flutter plugin for checking an app is installed or not on the device.
Getting Started
First, you need to add app_install_checker in your pubspec.yaml file:
import 'package:app_install_checker/app_install_checker.dart';
Only for iOS
Add the iOS scheme in the Info.plist file:
<dict>
...
<key>LSApplicationQueriesSchemes</key>
<array>
<string>example</string>
</array>
...
</dict>
Check an app is installed or not
To check an app is installed or not on the device iosScheme is required for iOS and packageName is required for Android.
iosScheme: The scheme of the app on iOS. packageName: The package name of the app on Android
bool isInstalled = await AppInstallChecker.isAppInstalled(iosScheme: 'example', packageName: 'com.example.app');