Multiple parameters in deeplink

We have a share functionality for the articles where we send the article url and article id so that if the app is installed the article is displayed based on it’s Id and if it’s not installed then it’s open based on url in the device browser.

I tried the following deeplink but it’s not working:
URL_SCHEME://URL_HOST?url=articleUrl&articleId=articleid

In my app component I’ve written:

this.deeplinks.routeWithNavController(this.nav, {
        '?:url=articleUrl&articleId=:articleid': HomePage
})

In my HomePage:

this.articleUrl = navParams.get('articleUrl');
this.articleId = navParams.get('articleid');

The arguments I’m getting is undefined.

1 Like