Deep linking not working in chrome mobile browser - android

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

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.

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
Take a QR code
But when I removed that fallback URL, it was redirected to the google play store as intended
Take a QR code

Related

What dictates when an Android App Link will open the browser versus the associated application?

When opening links on Android, it seems to be random as to whether the link will open in a browser or in the application. Links to Google Maps always open in the application while other links (I've tried MS Teams and Instagram) sometimes open in the application and sometimes open in the browser (dependent on what app is showing the link).
The documentation implies that the link will always open in the application, but this is not what I have seen. It appears as though the only reliable way to open your app is to use custom url schemes from a web launcher... which Android OS developers scowl at.
What is the root cause of this uncertainty of whether a link will open in browser or in app?
Do individual apps choose how to handle link clicks? Like can an email application require all links to be opened in browser? Or does the OS have "metrics" that help it decide how to handle a link?

Android react-native deep linking and application embedded browser

I have a react-native application which use deep linking for Android.
Basically I have a working setup, which means that when im testing on a real device if I go to my website page displaying a link mapped by the AndroidManifest.xml, my app is correctly opening when clicking on the link. Same thing when I'm clicking the mapped link directly from Gmail app or Slack, everything works correctly.
However, when I'm going to my website page (which is displaying the mapped link) from the "embedded" Gmail or Slack browser and clicking on the link, the deep link doesn't work and it redirects on the web directly without asking to open the app first.
It seems a strange behaviour for me and after some research I wasn't able to find an explanation or a solution, so anyone have an idea on how to handle this ?
Thank you for your time.

Redirect issue with Firebase Dynamic Link Android

I Have an issue with Firebase Dynamic Link.
I'm testing with Google Chrome. In case I put the link into an href it works with no problems and the link opens my Android app.
In case I put the link into a JavaScript that redirects the user to the Dynamic Link it does not work: it's like Google Chrome does not find the Android app installed and opens the Google Play instead (that is the default action if the app is not installed).
Does anybody had this same issue?

How to open android TeamViewer QuickSupport with Chrome intents (deep link) or any other way from a browser

We are trying to get TeamViewer QuickSupport app to open on an android device using a deep link in a web page. Referring to android Chrome documentation we tried using this link:
intent:#Intent;scheme=http;package=com.teamviewer.quicksupport.market;end
in
Open support
But this opens google Play Store and redirects to TeamViewer QuickSupport (not a bad thing, but not what we are looking for) even if the app is installed. I know that I can open the app with that package name since I can open it in one of our native android apps.
Does anybody know if TeamViewer supports this or is there any other way to open an app on android using a web page? Nothing special needs to be done here, just open the main view of an app.
I tested this url and worked in my vue.js app. It directly opens the app if it is installed.
Open support

Deep linking not working in chrome

I am trying to do deep linking such that when someone opens a link from mobile browser, it either opens the app, if it is installed or opens the play store link to download the app.
Here is my URI :
intent://scan/#Intent;scheme=com.example.android;package=com.example.android;end
When I type this in Mozilla Firefox app on Android, it opens my app if it is installed or opens the play store link if it not installed. But, when I type the same thing in Chrome, instead of opening app or play store, it just does a google search. What is wrong with my solution and how do I make it work?
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).

Categories

Resources