Skip to Content
Platform.Ontology

Custom URL schemes and app discovery

A custom scheme (myapp://) opens an app; apps can probe which other apps are installed.

Works without askingOther apps on the phoneLinkingAndroid and iPhoneWhile you use it

In one line

Can open another app by its link name and guess which apps you have

A custom scheme (myapp://) opens an app; apps can probe which other apps are installed.

Used for deep links and to guess which apps the person has. Both systems now limit probing.

What it can and can't do

What the user does: Nothing. It happens when the app starts or you tap a link like myapp://

It can

  • Open another app by its link name
  • Check up to 50 named apps on iPhone
  • Guess which apps you use from which ones answer

It cannot

  • Test names it did not declare ahead of time on iPhone
  • See the whole app list on Android 11 and later
  • Take over a link that belongs to a verified web link

How it differs between platforms: iPhone allows a limit of 50 declared names. Android 11 and later filters which apps an app can see.

On Android and iPhone

AndroidiPhone
StatusSupportedPartial
First versionNot availableiOS 9.0
Permission or entitlementintent-filter; QUERY_ALL_PACKAGES or <queries> (Android 11)LSApplicationQueriesSchemes (max 50 schemes)
Protection levelnormalnone
How access is grantedinstallnone
What the user seesNot listedNot listed
How long it lastsNot listedNot listed
How to take it backNot listedNot listed
Store policyPlay: QUERY_ALL_PACKAGES declarationNone listed
APIIntent, PackageManager.queryIntentActivitiesUIApplication.canOpenURL
NotesPackage visibility filtering since Android 11 (API 30).iOS blocks canOpenURL on schemes not declared; limit 50.

Data you get

What comes back: Scheme openable
Shape: boolean
How often: per call

No individual data fields. The signal is the access itself.

Technical limits

  • Apple 50-scheme cap
  • Android visibility filter

The story

What it is

Special web style addresses (myapp://) that open an app, and can be used to test whether an app exists.

For you

A button in one app opens another app on a certain screen. You never see the address, but you notice the jump from app to app.

For makers

Old school way to hand people from one app to another with data attached. It is easy to copy and spoof, so Universal Links and App Links replaced most use, but it still powers login and payment handoffs.

Where you see it

TypeExampleApps
paymentsYou tap 'Pay with Venmo' and Venmo opens with the amount filled in, then returns you to the store.Venmo, Cash App
socialThe login screen sends you to the Facebook app to approve, then back to the game.Facebook, Candy Crush
musicA share button opens the Spotify app on the exact song you picked.Spotify
gamesA friend's invite opens a game with a code already typed into the lobby.Among Us
adsAn ad SDK tries a list of schemes to guess which apps you have, which both OSes now limit.None named
developerDevelopers test deep links in the simulator by typing myapp://profile/42.None named

Risks

  • Easy to spoof
  • Used to guess installed apps

Android and iPhone in short

  • Android: Android lets any app claim a scheme, so Android prefers verified App Links.
  • iPhone: iOS allows only 50 declared schemes to be checked and prefers Universal Links.

Good uses and abuse

Legitimate uses

  • Open known partner apps

Known abuse

  • Inferring installed-app lists for ads

Scores

ScoreValueMeaning
Sensitivity3 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction1 of 5How much the user has to do
Fingerprint bits8Rough identifying entropy, when known

History

  • 2015-09, iPhone iOS 9: canOpenURL limited to declared schemes (max 50)
  • 2020-09, Android Android 11 (API 30): Package visibility restrictions

Same idea on the web

Sources

How well checked: Checked against real behavior.

On this page