ionic-team / ionic-plugin-deeplinks

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More then 5 deeplink links is not working

mohitarora11 opened this issue · comments

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
<plugin name="ionic-plugin-deeplinks" spec="1.0.17"> <variable name="URL_SCHEME" value="myapp" /> <variable name="DEEPLINK_SCHEME" value="https" /> <variable name="DEEPLINK_HOST" value="www.mydomain.net" /> <variable name="ANDROID_PATH_PREFIX" value="/Invoices/Detail" /> <variable name="DEEPLINK_2_SCHEME" value="https" /> <variable name="DEEPLINK_2_HOST" value="www.mydomain.net" /> <variable name="ANDROID_2_PATH_PREFIX" value="/Orders/Detail" /> <variable name="DEEPLINK_3_SCHEME" value="https" /> <variable name="DEEPLINK_3_HOST" value="www.mydomain.net" /> <variable name="ANDROID_3_PATH_PREFIX" value="/Customer/Detail" /> <variable name="DEEPLINK_4_SCHEME" value="https" /> <variable name="DEEPLINK_4_HOST" value="www.mydomain.net" /> <variable name="ANDROID_4_PATH_PREFIX" value="/details" /> <variable name="DEEPLINK_5_SCHEME" value="https" /> <variable name="DEEPLINK_5_HOST" value="www.mydomain.net" /> <variable name="ANDROID_5_PATH_PREFIX" value="/Location" /> </plugin>

how would i got value of <variable name="ANDROID_6_PATH_PREFIX" value="/order" />