Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deferred Deep Linking URL in Android

I want to implement deferred deep linking in my android app. My understanding is I need to provide a url and when user opens the url, it will direct user to the app or to play store if the app has not been installed. From my research, seems Android is able to resolve deferred deep linking by default. But my question is where is the URL from? Does Google have any url builder to generate it for me or do I need to have a website and write some code for the url?

like image 584
rookiedev Avatar asked Sep 29 '16 20:09

rookiedev


People also ask

What is deferred deep linking?

Deferred deep linking is one aspect of mobile deep linking. It describes the principle of deep linking into an app that is not yet installed. In this case, deep linking will be "deferred" until the application will be installed by the user.

How do you implement a deferred deep link?

Enter deferred deep linking. With deferred deep linking enabled, the user is redirected to the exact pair of shoes they were interested in immediately after downloading and opening the app. The conversion is saved!

What is deep linking in Android?

In Android, a deep link is a link that takes you directly to a specific destination within an app. The Navigation component lets you create two different types of deep links: explicit and implicit.

How do you check for deferred deep linking?

Set up your deep link and device, and test your deep link Install the app without clicking any links. On your test device, open a web browser and navigate to your HTML testing page. Click the deep link. Use the Testing Console to check that your device is now attributed to the test tracker.


1 Answers

The answers and comments so far are all referring to normal deep linking. None of them will get you deferred deep linking (i.e., the ability to deep link even when the app is not installed yet and the user needs to first visit the Play Store to download it).

Vanilla iOS does not support deferred deep linking at all. Android can do it with the Android Google Play referrer, but it is unreliable and doesn't work at all from Chrome.

To do this, you'll likely want to investigate a free third-party service like Branch.io (full disclosure: I am on the Branch team). The Branch platform abstracts all the technical details and edge cases away, so all you need to worry about is defining a set of key/value parameters (for example: articleID: story123) when you create a link. Branch makes sure those parameters are returned to you inside the app the first time it launches after the user clicks the link, whether or not the app was installed when the link was clicked. You can then use the values to route/customize however you wish.

like image 65
Alex Bauer Avatar answered Oct 24 '22 08:10

Alex Bauer