isAppInstalled static method

Future<bool> isAppInstalled(
  1. AppInfo app
)

Implementation

static Future<bool> isAppInstalled(AppInfo app) async {
  if (Platform.isAndroid) {
    return await LaunchApp.isAppInstalled(androidPackageName: app.android_id);
  } else if (Platform.isIOS) {
    return true;
  } else {
    return false;
  }
}