Ionic3 Deeplink with parameters are not working


#1

Hi,

Deeplink with parameters are not working or the first time.

First time the parameters are passed undefined. where second time if we open the same URL the parameters are taken.

Here is my code. Can any one tell me the mistake im doing
platform.ready().then(() => {

this.deeplink.routeWithNavController(this.nav, {
        '/newsdetail/:data': NewsdetailPage
      }).subscribe((match) => {
        console.log('Successfully routed', match);
        alert(match)
      }, (nomatch) => {
        console.log('Unmatched Route', nomatch);
      });

});