deepLink support for mobile
Would be cool that the website can support deeplinking so that if link is clicked from email to an event it would open up in app installed on the phone rather than browser. Of course this still direct to website then it will open the app.
Interesting idea, but the problem is that you can only deep-link to pre-defines domains.
Would a custom url handler work? In browser it may be possible to check this.
traccar://?event=100
But then if you don't have an app on your phone, it would be completely useless. Even worse if you want to check it on a desktop.
The link would not be in the email, it would be via a redirection in the browser.
I came across this example. https://developers.tune.com/sdk/deep-linking-to-your-mobile-app-from-your-website/
It still forces user to download a mobile app.
Could do it this way.
- user clicks link in email
- browser loads site
- if isMobile() then show user message if they app installed and they want to open there instead, or just put additional button on login form.
- this could be recorded in localstorage or cookie for site
- next time they come to site, check what they answered last time and just open app straight away.
The only thing this can not handle is if a user has multiple logins but that is a side case scenario unless certain data is encoded into the email link such as a one time key.
I like the idea.