Blog / Getting users for your app

Universal links vs deep links for traffic from social apps

Short answer

A deep link is any link to a place inside an app. A universal link is one type of deep link. It is a normal HTTPS address that iOS has checked against your website. Android's verified version is called an App Link. Use these two for social traffic because the same address also works as a web page. Keep custom schemes for links you control, since another app can claim the same scheme.

By the USposted team. Published . 8 min read.

Three deep links to the same recipe

Custom schememyrecipes://soup/42
Owned by your domain
NoNot checked
Web page as fallback
NoNot built in
Works on
iPhone and Android
Universal linkiPhone and iPad
Owned by your domain
YesFile and entitlement
Web page as fallback
YesSame HTTPS address
File to host
apple-app-site-association
Android App LinkAndroid 6 or later
Owned by your domain
YesFile and app signature
Web page as fallback
YesSame HTTPS address
File to host
assetlinks.json
Apple on custom schemes[1] and universal links[2][3]. Android on deep links and App Links[5][6]. The recipe app is invented.

The two names cause confusion because one is part of the other. A link to one recipe inside a cooking app is a deep link, whatever technology opens it. You are choosing between an address that only an app understands and a web address checked by the phone. This article covers people who already have your app. If they need to install it first, deferred deep linking is a separate problem.

Quick verdict

For a public social link, use one HTTPS address, set it up as a universal link on Apple devices and an App Link on Android, and show a useful page at that address.

Compare the links by how they fail

ProblemCustom schemeUniversal linkAndroid App Link
App is missingThere is no web page at that addressOpens in the default browser[2]Opens the website[6]
Another app makes the same claimOn iOS, Apple does not define which app opens.[1] Android may ask the user[5]The app and website must match[3]The app and website must match[6]
The website file is wrongIt does not use oneThe link can open in the browserOn Android 12 or later, a link to an unapproved domain opens in the browser[5]
The user changed a settingIt depends on the platform and appThey can choose the app or browser for a domain[4]They can change the app's supported links[7]
The same website is already openTest it in each browserSafari stays on the site if the domain is the same[2]Test it in each browser
The app opens on the wrong screenCheck your app's codeCheck your app's codeCheck your app's code

The last row matters in every test. The system may open the right app even when the app's own code cannot find the recipe. Record "app opened" and "right screen opened" as two separate results.

Custom scheme

Best for: links from a tool, test page or app you control.

A scheme such as myrecipes:// is quick to add, but it does not show that you own a domain. Apple calls schemes acceptable but strongly recommends universal links. Even a long, unusual name can be used by another app.[1]

Universal link

Best for: a web page that should open in your app on Apple devices.

You connect the domain from both sides. The app lists the domain in its entitlement, and the website hosts a file that lists the app. Your app must also read the incoming address and open the right screen.

Android App Link

Best for: the same web page in an Android app.

An HTTPS link is only an App Link after Android verifies the domain. Without verification, it is a normal web link. That difference matters on Android 12 and later, where the link opens in the browser unless the app is approved for the domain.[5] Meta also uses the name App Links for a different system.[11]

Find a broken universal link on iPhone

Start with Notes instead of a social app. Paste the full link, then long-press it. If the setup works, iOS shows options to open it in your app and in the browser. Your choice can become the default for that domain, so check it if the link suddenly stops opening the app.[4] If the app option is missing, look at the domain file:

curl -v https://example.com/.well-known/apple-app-site-association

Change example.com to your domain. Look for these problems:

Firewalls can cause a less obvious problem. Apple's servers request the file, so your own browser may receive it when Apple cannot. Apple says the file should be open to all IP addresses, countries and user agents.[4] Check your firewall and country rules.

For another test, turn on Developer Mode and open Settings, then Developer. Under Universal Links, turn on Associated Domains Development, then enter the full address under Diagnostics. It tells you if the link is valid for an installed app.[4]

If you fixed the file and nothing changed, an old copy may be the reason. Reinstalling the app makes the phone download the file again from Apple's servers, but you cannot clear the copy on those servers yourself. During development, Apple's developer mode can read the file from your server instead.[4]

A fixed file can take time to reach a phone
Apple's servers24 hoursApple says it requests your association file within this time.
Apple devicesAbout weeklyHow often devices look for an update after installation.
Android 15 or laterUp to 7 daysHow long a file change can take to reach all devices.
Apple[3] and Android[7]. On Android 14 and earlier, the file is usually checked again only when the app is installed or updated.

Find a broken App Link on Android

Install the app from the same release source your users have. Wait at least 20 seconds, then check what Android recorded:[7]

adb shell pm get-app-links com.example.recipes

Use your package name. "verified" means that the domain passed. "none" may mean that the check has not finished, while 1024 or a higher number is an error code from that device's checker. One domain can pass while another fails.[7]

If a domain did not pass, check these four places:[8]

On Android 11 and earlier, every domain in the manifest must pass. One old test domain can stop your app from becoming the default for the others.[7] Remove domains you no longer use.

On Android 12 or later, you can reset the link state on a test phone and run the check again:

adb shell pm set-app-links --package com.example.recipes 0 all

adb shell pm verify-app-links --re-verify com.example.recipes

Wait a few minutes before you run get-app-links again.[7] On Android 17 or later, Google's --debug-link option for "am start" shows which apps and rules match an address.[8]

Android 15 also lets you put path rules in assetlinks.json. They can narrow the paths in your app manifest, but they cannot add paths outside them.[6] If a campaign path is missing from the manifest, changing the website file will not add it. In September 2026, Google fixed an issue in which some phones ignored these rules and still opened excluded links in the app.[6]

Understand what changes with social traffic

A link can pass every test above and still behave differently after a tap in a social app. Apple says it is up to each third-party browser to turn on universal links.[4] It also lists WKWebView, Apple's web page view for apps, as a place where universal links can work.[2] Neither fact tells you what one version of Instagram or TikTok will do. Test the live link in each app.

A link on your own landing page has another problem. If both addresses use the same domain, Safari assumes that the person wants to keep browsing. Apple suggests a different subdomain for a button that should open the app, with its own file and entry in the app.[4] For example, put the page on www.example.com and link the button to open.example.com/soup/42. Show the recipe at that address too, in case the app does not open. Let the person tap the button. Chrome on Android, for example, will not open another app from an Intent address without a user action.[10]

Use the final address in the link. Apple allows redirects when another app opens a universal link, but says they are not preferred. If a normal link redirects to a universal link, it goes through the browser first.[4] A short link also gives you one more system to check. For problems that only happen inside a social app, use our Instagram in-app browser guide.

Treat every incoming value as untrusted. Apple tells developers to check URL values, reject bad addresses, and limit actions that could put data at risk.[1] A link can open a recipe. It should not delete one, give paid access or show private data unless the app checks the user's account first.

Run this test sheet before launch

Use the release version, an iPhone and a few Android versions your users have. Write down the device, OS version, social app version, link and result. Test again when one of them changes.

TestExpected result
iPhone Notes, with the app installedAn option to open the app, then the right screen
Android "am start" test, with the app installedYour app, then the right screen
Link from another websiteRecord whether the app or web page opens in each browser
Live profile link in each social appThe app or a useful web page, but never an error
Button on your landing pageThe app, or a working page at the button's address
App is closed, then already openThe right screen in both cases
Signed-out userThe same screen after they sign in, if an account is needed
Unknown recipe or broken valueA clear message and a normal screen, with no crash
App is not installedA useful web page with a store link

Google's basic command for the Android test is below. The ID and package are examples:[5]

adb shell am start -W -a android.intent.action.VIEW -d "https://open.example.com/soup/42" com.example.recipes

This command names the package, so it checks your intent filter and screen. It does not show which app Android would choose. Run it again without the package name for that check. Google's verification guide also adds the BROWSABLE category.[7]

If you use one of these links as the Open button on an Apple custom page, test that button separately. Our guide to custom product pages covers its review and iOS version rules.

Questions people ask

Are Android App Links the same as Facebook App Links?

No, although the names are very similar. Android App Links are HTTPS addresses that Android checks against your domain and app. Meta also has a system called App Links, which uses information on a web page to find the matching app and has its own rules. Adding Meta's tags does not create Android's assetlinks.json file or verify an Android domain. When you follow a guide, check which system it means, and test the exact type of link you plan to put in your profile.

Can I use one domain for universal links and Android App Links?

Yes. An HTTPS path can have an Apple association and an Android association. Host apple-app-site-association for Apple and assetlinks.json for Android, both in the domain's .well-known folder. Then set up the domain in each app. Each platform checks its own file, so one can work when the other does not. Include every subdomain you use, and avoid redirects when the platforms request these files. The same address can still show a web page when the app is not installed.

Can I open an app automatically when a landing page loads?

Do not build the page around it. Apple expects a person to tap or click a universal link. Chrome on Android will not open an outside app from an Intent address if the person did nothing to start it. Other browsers and social apps may have different rules. Let people read the page, then offer a clear button that opens the app and another for the store. Someone who does not have the app, or taps in a browser that does not open it, still has something to do.

Why did my Android link stop working after I moved to Play App Signing?

Check the fingerprint in assetlinks.json. Google says Play App Signing often uses a different certificate from your local signing key. If you copied the local fingerprint, users' apps may not match your file. In Play Console, open Release, then Setup, then App signing to find the correct fingerprint and a sample file. You can list several fingerprints if you need them for different builds. Publish the fix, run verification again on a test phone and check the state of every domain.

Do universal links work in the iPhone browser address bar?

No. If you type or paste the address directly into a browser's address bar, Apple says it will never open the app. The person is asking the browser to go to that page. This makes the address bar a poor test. Paste the link in Notes, then long-press it to see whether you can open it in the app. After that, test a link in a different app or on a different domain. Keep the Notes result separate from the result inside a social app.

Sources

  1. Apple Developer: Defining a custom URL scheme for your app
  2. Apple Developer: Allowing apps and websites to link to your content
  3. Apple Developer: Supporting associated domains
  4. Apple Developer: TN3155, Debugging universal links
  5. Android Developers: Create deep links
  6. Android Developers: About App Links
  7. Android Developers: Verify App Links
  8. Android Developers: Troubleshoot App Links
  9. Android Developers: Configure website associations
  10. Chrome for Developers: Android Intents with Chrome
  11. Meta for Developers: App Links on iOS

Prices and platform rules change. We checked these pages on November 30, 2026.

Keep reading

More guides

Browse by topic

Getting users for your appCloud phones vs real phonesPhone farmsUS accounts from abroadVPNs, proxies and bansClipping and multiple accountsPosting services and phone rentalInstagram for a US audienceRunning the accountsPlaybooks by businessPayout programs and eligibilityAll guides