diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index daffe261f..e91b8fcd2 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -1599,8 +1599,9 @@ bool callUniLinksUriHandler(Uri uri) { final peerId = uri.path.substring("/new/".length); var param = uri.queryParameters; String? switch_uuid = param["switch_uuid"]; + String? password = param["password"]; Future.delayed(Duration.zero, () { - rustDeskWinManager.newRemoteDesktop(peerId, switch_uuid: switch_uuid); + rustDeskWinManager.newRemoteDesktop(peerId, password: password, switch_uuid: switch_uuid); }); return true; }