fix for iOS

This commit is contained in:
rustdesk
2022-04-18 11:46:36 +08:00
parent a348ba3d7e
commit cbc25547ba
3 changed files with 46 additions and 43 deletions

View File

@@ -124,6 +124,7 @@ class PlatformFFI {
}
static invokeMethod(String method,[ dynamic arguments ]) async {
if (!isAndroid) return Future<bool>(() => false);
return await toAndroidChannel.invokeMethod(method,arguments);
}
}