diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index 084b81f1c..23e52cc49 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -1803,6 +1803,10 @@ Future initUniLinks() async { if (initialLink == null) { return false; } + if (isMobile){ + handleUriLinkMobile(initialLink); + return true; + } return handleUriLink(uriString: initialLink); } catch (err) { debugPrintStack(label: "$err"); diff --git a/flutter/lib/main.dart b/flutter/lib/main.dart index d7dd5acee..b8a7a8e45 100644 --- a/flutter/lib/main.dart +++ b/flutter/lib/main.dart @@ -156,6 +156,7 @@ void runMobileApp() async { await Future.wait([gFFI.abModel.loadCache(), gFFI.groupModel.loadCache()]); gFFI.userModel.refreshCurrentUser(); runApp(App()); + await initUniLinks(); } void runMultiWindow(