isUaePassAppInstalled method

Future<bool> isUaePassAppInstalled({
  1. required String androidPackageId,
  2. required String iosUrlScheme,
})

Returns whether the native UAE Pass app is installed on this device.

On Android this checks package visibility for androidPackageId (requires the corresponding <queries> manifest entry). On iOS this checks canOpenURL: for $iosUrlScheme:// (requires the corresponding LSApplicationQueriesSchemes Info.plist entry). On web, this always returns false — there is no native app to detect.

Implementation

Future<bool> isUaePassAppInstalled({
  required String androidPackageId,
  required String iosUrlScheme,
}) {
  throw UnimplementedError(
    'isUaePassAppInstalled() has not been implemented.',
  );
}