Deep linking: Passing hard coded params


#1

Hi
I am trying to pass some hard coded parameters when using the Deeplinks.routeWithNavController method.
The reason for this is I have a few URL matches that I need to go to the same component but with a different filter parameter passed.

Here is my code so far…

   Deeplinks.routeWithNavController(this.nav, {
    '/': Home,
   '/beer': Beer,
   '/beer/:beerSlug': View,
   '/breweries': Category ,//@TODO passfilter params here
   '/style': Category, //@TODO  Passfilterparams here
    
  }).subscribe((match) => {
    console.log('Successfully routed', match);
  }, (nomatch) => {
    console.warn('Unmatched Route', nomatch);
  });

I have tried looking at the docs but cannot see any reference to this?

Thanks for any help :slight_smile: