How can you implement a system of Deeplink
style the tinder app.
That is, in the share with ... option, a url style http://go.tinder.com/md5
The one who receives the message in whatsapp, telegram etc ... if you click on the link, two things can happen:
-
If the user does not have the app, he opens the google play with the app.
-
If the user has the app, it opens, the link is processed and placed on the screen with the information.
I understand that the android's depplink system, if the app is not installed, opens the link with the web browser. If you have it installed, delegate your request to it, avoiding the opening in the browser.
Things I have done:
Pattern route link: link
- Send message and link to share with
Share This
towards whatsapp, telegram, notes etc ...
I'm missing:
- Process the deeplink from the app if the user has it installed.
- How to know which route to load in the app? I suppose I should add something in the url to have a numeric reference indexed in the route database in the app.