I am facing issue of deeplink. We have created a deep link for mobile application post but at google chrome mobile browser, its not opening the app screen. I saw same issues with amazon app deep links also.
At very first load it did not open app but second time it open app
Best Answer
I also got the same issue and I found a really good article regarding chrome browser with a deep link. (https://developer.chrome.com/docs/multidevice/android/intents/)
I first try out it with a fallback URL and the google chrome mobile browser doesn't work
<a href="intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;S.browser_fallback_url=http%3A%2F%2Fzxing.org;end"> Take a QR code </a>
But when I removed that fallback URL, it was redirected to the google play store as intended
<a href="intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;end"> Take a QR code </a>
Also make sure that you are tapping
on the link. The chrome developers consider everything entered into the browser as user intention to open it in the browser.
So if you enter your link that you wish to deep link into your app in the chrome browser - it will open in the browser. But if you copy/paste it e.g. in notes app (social media etc.) and then tap on it - it will open your application if you have properly configured deep / app links.
While I agree with your answer, I wonder how apps like Slack and Zoom (and many others) manage to push you into their app when you open a link in the browser first (e.g. a link to a chat conversation). This happens without user interaction like clicking a button etc.. –Torsten EngelbrechtMay 18 at 11:54
@torsten-engelbrecht You can use JavaScript redirects. For example, create test.html file with content:
<html><script>window.location.replace("zoomus://zoom.us/start?browser=chrome&confno=123456789&zc=0&stype=100&sid=0000000000-00000000000&uid=0000000000-00000000000&token=xxxxxx&uname=Test");</script><body></body></html>
And try to open it on an Android phone with the Chrome Browser and the Zoom App.