From 5138a4a4f2ed60fe968996f9c01cfc497ed52f65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Bu=C3=9Fmann?= Date: Tue, 9 Jul 2019 15:32:28 +0200 Subject: [PATCH] Updated routeWithNavController to Ionic v4 - Fixed #183 --- www/deeplink.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/deeplink.js b/www/deeplink.js index 1d43ba9..c573ef3 100644 --- a/www/deeplink.js +++ b/www/deeplink.js @@ -100,9 +100,9 @@ var IonicDeeplink = { // Defer this to ensure animations run setTimeout(function () { if (options.root === true) { - navController.setRoot(match.$route, match.$args); + navController.navigateRoot(match.$route, {queryParams: match.$args}); } else { - navController.push(match.$route, match.$args); + navController.navigateForward(match.$route, {queryParams: match.$args}); } }, self.NAVIGATION_DELAY);