Skip to content
DL2App

Blog

Universal Links vs App Links vs URL schemes: how app links work on iOS and Android

Universal Links (iOS) and App Links (Android) let an https link open your app instead of a web page. What they are, how the phone decides to open the app, how they differ from myapp:// URL schemes, and what none of them can do.

· DL2App · 5 min read

When someone taps a link to your website on their phone, three things can happen: the page opens in the browser, your app opens on the matching screen, or nothing useful happens at all. Which one depends on how your app and your domain are set up.

This post explains the three kinds of link that can open an app (Universal Links, App Links and custom URL schemes), how each works, and when to use which.

The short answer

  • Universal Links (iOS) and App Links (Android) are ordinary https links that your app claims. They open the app when it's installed, and your website when it isn't.
  • Custom URL schemes like myapp://product/42 open the app directly, but fail when it isn't installed, and any app can claim the same scheme.
  • None of them survives an install. Someone without the app goes to your website or the store, and after installing lands on the home screen. That needs deferred deep linking.

Universal Links (iOS)

A Universal Link is an https address on a domain your app is associated with. When someone taps it, iOS checks whether an installed app has claimed that domain and path. If one has, the app opens and receives the link; if not, Safari opens the page.

Two pieces make it work:

  1. The app declares the domain in its Associated Domains entitlement: applinks:go.example.com.
  2. The domain agrees by serving a file at https://go.example.com/.well-known/apple-app-site-association, listing the app (TEAMID.bundle.id) and the paths it may open.

Both sides must match. iOS fetches the file through Apple's CDN, not directly from your server, so changes can take hours to reach phones. Our AASA generator writes the file and the AASA validator checks it.

App Links (Android)

App Links are Android's version, and work the same way:

  1. The app declares the domain with an intent-filter in its manifest, marked android:autoVerify="true".
  2. The domain agrees with a file at https://go.example.com/.well-known/assetlinks.json, listing the app's package name and the SHA-256 fingerprint of the key that signed it.

When the app is installed, Android checks the file. If it verifies, taps on those links open the app without asking. If it doesn't, Android may show a chooser or open the browser. The assetlinks.json generator and validator help here.

Custom URL schemes

A custom scheme is a link like myapp://product/42. The app registers the scheme (under URL Types on iOS, in an intent filter on Android), and the system opens the app when a link with that scheme is tapped.

They're simple, but they have three problems as links you share:

  • They fail when the app isn't installed: an error, or nothing at all.
  • Nothing proves ownership: any app can register myapp://.
  • Many apps don't make them tappable in messages and posts.

They're still useful for testing, for app-to-app calls, and inside your own app. Our URL scheme tester turns one into a QR code you can try on a phone.

Side by side

Universal Links App Links Custom scheme
Platform iOS Android Both
Looks like https://go.example.com/p/42 https://go.example.com/p/42 myapp://p/42
Proves the app owns it Yes, through the domain's file Yes, through the domain's file No
Without the app installed Opens the web page Opens the web page Fails
Works in emails, chats, posts Yes Yes Often not tappable
Survives an install No No No

Our deep link generator builds all three for the same screen, so you can compare them.

What developers need to do

For both platforms, using one domain such as go.example.com:

  1. Pick a domain you control, ideally a subdomain used only for links. Links on your own domain can move between providers without breaking.
  2. Serve both files from it, over HTTPS, with no redirects.
  3. Add the domain to the app: Associated Domains on iOS, the intent filter on Android. Our setup snippets write both for Xcode, Android, React Native, Flutter and Expo.
  4. Handle the incoming link in the app and route to the right screen.
  5. Ship an app update. The domain is compiled into the app, so it only works for people with the new version.
  6. Test by tapping, from Notes, Messages or an email. A link typed into the address bar never opens an app. How to test.

When something doesn't work, our checklists for Universal Links and App Links go through the causes in order, and the link checker fetches both files the way phones do.

Where they don't work well

  • Inside Instagram, TikTok and other in-app browsers, links often stay in the app's own browser. Why, and what helps.
  • On the same domain: a link to example.com tapped on a page that's already on example.com stays in Safari. Use a separate link domain.
  • After the person chose to stay in the browser: iOS remembers that choice for the domain.

Where DL2App fits

DL2App hosts both files on your link domain (ours or your own), checks them on a schedule, and emails you if one breaks. It also covers what native links can't: sending people without the app to the right store, carrying the link through the install, and handling in-app browsers. To start, paste your App Store or Google Play link at portal.dl2.app: your first link is live in about a minute.

Questions people ask

What is the difference between Universal Links and App Links? They're the same idea on different platforms: Universal Links on iOS, App Links on Android. Both let an https link open your app, verified by a file on your domain. The files and app settings differ.

Are Universal Links better than URL schemes? For links people share, yes. They prove the app owns the domain, open your website when the app isn't installed, and work in emails and messages. Schemes are fine for testing and app-to-app calls.

Do Universal Links work if the app isn't installed? They open the web page at that address. To send people to the App Store and then to the right screen after installing, you need deferred deep linking.

Why does my Universal Link open Safari instead of the app? Usually the file on your domain doesn't match the app, Apple's CDN hasn't picked up a change, the link was typed in the address bar, or it was tapped on the same domain. The full checklist.

All posts

Start with one link

The free plan has no time limit and needs no card. Create a project, add your app, and send yourself the link.