Deep linking not working in chrome
This is a known wontfix
bug in Chrome 40+ (see the Chromium project ticket here for the full story).
Essentially, the Chrome team feels that if a user actually types something into the address bar, no redirect should ever happen. As you've discovered, this is counter to behavior in all other browsers.
Fortunately it's unlikely a user would actually type an intent://
URI by hand. If you wrap the URL inside a link on a webpage, or offer a link to another page and then issue a redirect of some kind (so that you can detect the user agent and not show a 'broken' intent://
link to users on other browsers), it should work correctly.
If you don't want to handle all these edge cases, you could also try a free service like Branch.io (full disclosure: I'm on the team).
Android deep link using intent not opening app
As Alexey commented on my post,
<a href="myscheme://myhost/some/other/parameters">
worked just okay for me.
I double checked the official document (the link on my post) and my chrome version (which is 71), so I have no idea why the intent:// syntax did not work.
I guess there were changes on mobile Chrome after version 25 that I missed or couldn't find.
Deep link not working from Chrome Custom Tabs with device having old version of Chrome
It turns out to be a well known issue. I was getting a Navigation is Blocked
console message when I connect my emulators dev tools in browser. Google Chrome won't let a deeplink to open an app, if it is triggered by a javascript. It has to be a user initiated action. In my case after the user clicks on button, there were series of things done behind ajax call, before deeplink was triggered.
As a workaround, once the button is clicked and web is done with all the ajax calls, it redirects to new intermediate screen. This screen was created with a button for user to click(Continue). On click of this button, deeplink successfully redirected to app.
Related Topics
Findviewbyid Returns Null When Using Fragment
Changing Gradient Background Colors on Android at Runtime
Firebase Authentication Not Working in Signed APK
Screen Overlay Detected Blocks Android Permissions
How to Send JSON Object to the Server from My Android App
How to Use Tabhost.Ontabchangelistener in Android
Android Broadcastreceiver for Volume Key Up and Down
Crop Video Before Encoding with Mediacodec for Grafika's "Continuous Capture" Activity
How to Show/Hide Password in Textformfield
Java.Io.Ioexception: Unexpected End of Stream on Connection in Android
Android - Detect End of Long Press
How to Create Datepicker and Timepicker Dialogs in Fragment Class
Set Build Path in Eclipse for Ndk Program
How to Get Any Identifier of the Topmost Activity
How to Customize the Contextual Action Bar Using Appcompat in Material Design