isInstalled method
Implementation
@override
Future<bool> isInstalled(String? uri) async {
if (uri == null || uri.isEmpty) {
return false;
}
// If the wallet is just a generic wc:// then it is not installed
if (uri.contains('wc://')) {
return false;
}
if (platformUtils.instance.canDetectInstalledApps()) {
try {
return platformUtils.instance.getPlatformType() ==
PlatformType.mobile &&
await canLaunchUrlFunc(
Uri.parse(
uri,
),
);
} catch (_) {
// print(e);
}
}
return false;
}