Note : I’ll keep track with the updates so when I find a solution or when someone help me the next developers who will face the same problem will understand how to deal with it
Hi
I’m working on a project , the project almost done but I need one last thing
I need the users to be able to share some pages in my app but the only problem is that as you know in the deeplinks in the ionic docs doesn’t show how to share dynamic pages
my problem is that I need to share a page which grabs some data from the internet based on the id it gets from the navParams
to be more clear here is my navigation function :
nextPage(id : string,name : string ,biz : string,image : string,rat : number){
this.navCtrl.push(this.sti,{
tid : id,
tname : name,
tbiz : biz,
timage : image,
ra : rat
});
}
as you can see the ( sti ) page is giving some data so how can I pass this data in the deep linking ?
of course the most important thing to me is the ( tid ) the other data I can reload them easily if needed
I saw this article put it wasn’t clear to me how to do what I need to do :
any ideas ?
Edit : After some search I found that I need to use ionicPage() , here is it’s docs :
However I’m still trying to understand how to use it
actually I was able to create a custom link for the app successfully with deeplinks (like instagram://)
but the problem is that I couldn’t pass the parameters I don’t know why !
Are you using the segment parameter in your @IonicPage decorator as documented in the “Dynamic Links” section of the second doc link in your first post?
Hey, I think I can help on this one. I did a small write up about dynamic links with firebase and branch, and we can modify the end result a bit to add some extra parameters.