Skip to content
Mobileintermediate

How do deep links work?

Updated Nov 30, 20263 min readBased on official documentation
How do deep links work?

In short

A deep link is a URL that opens a specific screen inside an app instead of a website or the app's home page. Android routes these links through intent filters declared in the app manifest. Verified App Links can skip the app chooser dialog for links to your own website.

A deep link is a web address or custom address that points to content inside an app. Instead of sending the user to a home page, it can open a particular product, article or profile. Users reach these links from web pages, search results, notifications and messages.

Android supports two general kinds of linking. The first is plain deep linking, a standard platform feature that uses the intents system. The second is App Links, an enhanced form that ties your app to a website you own. Both rely on intents, so it helps to know the basics of intents and intent filters before you start.

How it works

Your app declares which links it can handle in its manifest file. You do this with an intent filter attached to an activity. The filter lists the link schemes, hosts and paths the activity accepts. When the system sees a link that matches a filter, it sends the link to that activity.

Plain deep links can match custom schemes such as a name you invent for your app, or standard web schemes and domains. Because several apps may claim the same link, Android may show a disambiguation dialog that asks the user to pick an app. This is the main drawback of plain deep linking.

App Links solve that problem. You prove that you control the website by publishing a Digital Asset Links file on your domain. The file names your app as the trusted handler. After the system verifies the association, taps on matching links open your app directly, with no dialog. The documentation notes that App Links are supported on Android 6 and later, on devices that have Google services.

Android 15 adds Dynamic App Links. They let you change how your app handles deep link URLs, including finer control over URL matching, without releasing a new version of the app.

When to use it

Use plain deep links when you need to open your app from links that do not belong to a website you control, or when you want a simple custom address for internal use. The documentation says deep links are available on all Android versions.

Use App Links when your links point to your own website or domain. The documentation recommends App Links for this case. Users get a smoother experience because the app opens straight away, and the link still works as a normal web address when the app is not installed.

A simple example

Here is a minimal intent filter for an activity that handles links to a product page on a website. The autoVerify attribute asks the system to verify the App Link association.

<activity android:name=".ProductActivity"
    android:exported="true">
    <intent-filter android:autoVerify="true">
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />
        <data android:scheme="https"
            android:host="www.example.com"
            android:pathPrefix="/products" />
    </intent-filter>
</activity>

Inside the activity, read the incoming link from the intent and show the matching content. Then publish the Digital Asset Links file on www.example.com so the system can confirm that your app is allowed to handle those links.

Common mistakes

A frequent problem is forgetting the BROWSABLE category. Without it, links from browsers and other apps will not reach your activity. Another mistake is writing host or path patterns that are too broad, which can make your app catch links it should not handle.

Testing also matters. Check each link on a real device or emulator, and confirm that the verification step succeeded. If the association is not verified, the system falls back to the disambiguation dialog, and users see a choice they did not expect.

Alternatives and next steps

If you only need links inside your own app, you can skip deep links and use an in-app navigation library. If you need links from the web to open your app and you own the domain, App Links is the better fit. Read the official guide for the full steps to create, test and verify your links, and check how the manifest file is structured before you add intent filters.

FAQ

Do deep links work on every Android device?

Plain deep links are available on all Android versions. App Links need Android 6 or later and a device with Google services, according to the documentation.

What is the disambiguation dialog?

It is the window Android shows when more than one app can open a link. The user picks which app to use. Verified App Links can skip this step for your own website.

Do I need to change my app to update link handling on Android 15?

Dynamic App Links let you adjust link behavior without releasing a new app version. Check the documentation for the exact settings that apply to your setup.

What happens if I do not verify my App Links?

The system may show the disambiguation dialog instead of opening your app directly. Users then have to choose an app each time.

Sources

This page is based on the official documentation below. Read it for full detail.

Deep links — official documentation ↗
blozhikDeveloper news from across the web, explained. Every story links to its original sources.