# Deep links not working in ionic 3

**URL:** <https://forum.ionicframework.com/t/deep-links-not-working-in-ionic-3/143690>\
**Category:** Ionic Native\
**Created:** [October 4, 2018, 1:55pm UTC](https://forum.ionicframework.com/t/deep-links-not-working-in-ionic-3/143690 "2018-10-04T13:55:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![harendrasingh12](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@harendrasingh12](https://forum.ionicframework.com/u/harendrasingh12)\
**Post date:** [October 4, 2018, 1:55pm UTC](https://forum.ionicframework.com/t/deep-links-not-working-in-ionic-3/143690/1 "2018-10-04T13:55:19Z")

</div>

trying to use deeplinks but only app is opening. . routing not working

import { Component, ViewChild } from ‘@angular/core’;  
import { App, Platform, Nav, NavController } from ‘ionic-angular’;  
import { StatusBar } from ‘@ionic-native/status-bar’;  
import { SplashScreen } from ‘@ionic-native/splash-screen’;  
import { Deeplinks } from ‘@ionic-native/deeplinks’;  
import { HomePage } from ‘…/pages/home/home’;  
import { HarryPage } from ‘…/pages/harry/harry’;  
@Component({  
templateUrl: ‘app.html’  
})  
export class MyApp {  
@ViewChild(‘myNav’) nav: Nav;  
rootPage:any = HomePage;

constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen,private deeplinks: Deeplinks) {  
platform.ready().then(() =\> {  
statusBar.styleDefault();  
splashScreen.hide();  
});  
this.deeplinks.routeWithNavController( this.nav, {  
‘/harry’: HarryPage,  
‘/’ :HomePage  
}).subscribe( (match)=\>{  
console.log(match.$route);  
// alert(JSON.stringify(match))  
},(noMatch)=\>{  
// alert(JSON.stringify(noMatch));  
})  
}  
}

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:13pm UTC](https://forum.ionicframework.com/t/deep-links-not-working-in-ionic-3/143690/2 "2021-07-19T21:13:46Z")

</div>


