Hello,
I’m trying to use the deeplinking plugin with navcontroller in my app.component buy it doesn’t work.
In fact it’s always redirect me on the homepage.
What’s wrong with this code?
this.deeplinks.route({
'/login': LoginPage,
'/post/:postId': PostPage
}).subscribe(match => {
this.navCtrl.push(match.$route, match.$args)
}, nomatch => {
// nomatch.$link - the full link data
console.error('Got a deeplink that didn\'t match', nomatch);
});
Thanks
Maxime