cold boot uni link mobile

Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
Sahil Yeole 2023-11-02 02:25:01 +05:30
parent b1682d5794
commit c14c27970f
2 changed files with 5 additions and 0 deletions

View File

@ -1803,6 +1803,10 @@ Future<bool> initUniLinks() async {
if (initialLink == null) {
return false;
}
if (isMobile){
handleUriLinkMobile(initialLink);
return true;
}
return handleUriLink(uriString: initialLink);
} catch (err) {
debugPrintStack(label: "$err");

View File

@ -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(