Handle deeplinks into your Ionic/Cordova apps from Universal Links, App Links, and Custom URL schemes. For those using Ionic 2, there are some nice goodies that make life easier.
I've configured the routes to match six URLs, but deeplink is getting triggered only for 5 urls:
for eg
this.platform.ready().then(() => {
//deep linking
this.deeplinks
.routeWithNavController(this.nav, {
"/Invoices/Detail/:id": DetailtemPage,
"/Orders/Detail/:id": DetailtemPage,
"/Customers/Detail/:id": DetailtemPage,
"/Detail/:id": DetailtemPage
"/location/:id": DetailtemPage,
"/order/:id": DetailtemPage
})
.subscribe(
match => {
// match.$route - the route we matched, which is the matched entry from the arguments to route()
// match.$args - the args passed in the link
// match.$link - the full link data
// console.log("Successfully matched route", JSON.stringify(match));
},
nomatch => {
// nomatch.$link - the full link data
console.error(
"Got a deeplink that didn't match",
JSON.stringify(nomatch)
);
}
);
});
I've configured the routes to match six URLs, but deeplink is getting triggered only for 5 urls:
for eg
this.platform.ready().then(() => { //deep linking this.deeplinks .routeWithNavController(this.nav, { "/Invoices/Detail/:id": DetailtemPage, "/Orders/Detail/:id": DetailtemPage, "/Customers/Detail/:id": DetailtemPage, "/Detail/:id": DetailtemPage "/location/:id": DetailtemPage, "/order/:id": DetailtemPage }) .subscribe( match => { // match.$route - the route we matched, which is the matched entry from the arguments to route() // match.$args - the args passed in the link // match.$link - the full link data // console.log("Successfully matched route", JSON.stringify(match)); }, nomatch => { // nomatch.$link - the full link data console.error( "Got a deeplink that didn't match", JSON.stringify(nomatch) ); } ); });
But the file which got generated look like this `
`
how would i got value of
<variable name="ANDROID_6_PATH_PREFIX" value="/order" />