Skip to content

Commit

Permalink
fix open from link
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlipa91 committed Jan 22, 2024
1 parent 172e1e5 commit 638ebb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/controller/LaunchController.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ class LaunchController {
print("handling dynamic link " + deepLink.toString());
var fullPath =
"${deepLink.path}?${deepLink.queryParameters.entries.map((e) => "${e.key}=${e.value}").join("&")}";
GoRouter.of(navigatorKey.currentContext!).go(fullPath);
appRouter.go(fullPath);
// GoRouter.of(navigatorKey.currentContext!).go(fullPath);
}

static void _handleMessageFromNotification(RemoteMessage message) async {
Expand Down

0 comments on commit 638ebb6

Please sign in to comment.