Skip to content
CodeOnAir
Docs menu

AppLink Setup

Set up your AppLinks URL prefix, website and iOS / Android app details, add the domain to your app, then create, test and track your first deep link.

Open your app in the dashboard and choose AppLinks in the sidebar. A new app shows “You have no URL prefix” — click + Create URL Prefix. The wizard has three steps (four with your own domain); Continue › moves on and Done on the last step saves everything. Only admins and the owner can run it.

The whole path from here to a link that works on a phone:

  1. Run the URL prefix wizard (this page).
  2. Add the SDK and your App ID to the app — React Native, Android or iOS.
  3. Add the link domain to the app (Associated Domains on iOS, an intent filter on Android) — 📱 App setup shows the lines.
  4. Build and install the app on a phone, create a link, and tap it.

Step 1 · Domain name#

Pick your free subdomain, e.g. https://demoshop.codeonair.com. It works right away — no DNS changes. Choose No, keep default to use it, or Yes, use custom domain for your own. On a paid plan you can add your own domain or more prefixes later with + Add URL Prefix.

Step 1: your free subdomain. The steps on the left turn green as you go.

Using your own domain

  1. Choose a subdomain you don't use for anything else, e.g. links.yourbrand.com.
  2. Add the CNAME and TXT records the wizard shows at your DNS provider.
  3. Click Verify. DNS can take from a minute to a few hours; choose “Finish later” and come back with Continue setup.
Important
On Cloudflare, turn the proxy off (grey cloud) for the CNAME record, or the certificate and app verification fail.

Step 2 · Website URL#

The default destination when a link has nowhere else to go — on desktop, for example. It's also where link previews come from when a link has no title, description or image of its own. Use your site's home page, e.g. https://www.yourbrand.com.

Step 3 · App info#

Answer Do you have an iOS App? and Do you have an Android App?, then fill in each platform.

Step 3: the app's identity on each store. Phones use it to check that your app owns the link domain.

iOS

FieldWhere to find it
Is it in the App Store? → YesPick your country and type the app's name; choose it from the results and the App Store ID and Bundle ID fill in.
Is it in the App Store? → NoType the Bundle Identifier: Xcode → your target → General → Bundle Identifier.
Team ID (10 characters)developer.apple.com/account → Membership details → Team ID
Advanced deferred deep linkingTurns on clipboard matching for exact iOS installs (iOS shows a paste prompt).

Android

FieldWhere to find it
Is it on Google Play? → YesType your app's name, paste its Play Store link, or the package name, and choose it. Not public yet? Pick “Use this package name”.
Is it on Google Play? → NoType the package name (applicationId in android/app/build.gradle) and where users should go instead.
SHA-256 fingerprintsAdd one row per signing key — see below. Up to 20.

Android only opens your app for a link when the key that signed the installed app is listed. Add every key you sign with:

KeyWhen it's usedWhere to find it
Play App Signing keyApps installed from Google PlayPlay Console → Test and release → App integrity → App signing
Upload keyBuilds you share outside Play (internal testing APKs)Same page, Upload key certificate — or keytool on your keystore
Debug keyBuilds from Android Studio / react-native run-androidkeytool on ~/.android/debug.keystore (below)
Get a SHA-256 fingerprint
# Debug builds
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

# Your release keystore
keytool -list -v -keystore path/to/your/keystore.jks -alias your-key-alias

# Or in Android Studio: Gradle panel → app → Tasks → android → signingReport

Paste several fingerprints at once and each gets its own row. The 64-character form without colons is accepted too and formatted for you.

No app on a platform?

Choose “No” and enter where those users should go instead — your website or a waitlist page, for example.

URI scheme (optional)

A custom scheme like myapp:// lets in-app browsers (Instagram, Facebook) open your app directly. Without one, Android still gets an Open in app button that uses your link's App Link.

Add the domain to your app#

Click Done. The AppLinks page now lists your links for this prefix. Open 📱 App setup next to the prefix: it shows your App ID and the exact lines to add in Xcode, AndroidManifest.xml and Expo's app.json, with your domains filled in.

📱 App setup: copy each block into your project, then ship a new build — phones only open the app for domains listed inside it.

Check your setup#

The same 📱 App setup box has a Check button that reads these files from the internet the way phones do:

Files phones read from your link domain
https://<your-prefix>/.well-known/apple-app-site-association
https://<your-prefix>/.well-known/assetlinks.json
Tip
Any link plus ?d=1 (e.g. shop.codeonair.com/summer?d=1) opens the link debugger: where each platform would go, and the data your app receives.

On the AppLinks page click + Create New Link (or Import CSV for many at once). The editor walks through six steps; Create appears from Social Tags on, and Advanced is optional.

AppLinks: the prefix on top, its links below. Analytics opens a link's clicks, installs and opens.
  1. Short URL — the part after the prefix, e.g. summer. Letters, numbers, - and _. Leave it empty for a random one.
  2. Link details — a name for you, the deep link URL (your app receives its path and query; desktop browsers open it) and the attribution window. For https://demo-shop.example/sale?code=SUMMER25 your app gets the path /sale and { code: "SUMMER25" }.
  3. iOS / Android behavior — open the app (or its store / a custom URL when it isn't installed), or always open the browser.
  4. Social tags — title, description and a PNG/JPG image (1200 × 630 works best). Empty fields come from the deep link page, then your website. The preview beside the fields is what WhatsApp, Slack and X will show.
  5. Advanced (optional) — campaign, UTM tags, a desktop URL, an expiry date, a password, routing rules by platform or country, and A/B variants.
Social Tags with its live share preview. The steps on the left jump straight to any part once a link exists.

Test it#

  • App installed: tap the link in Notes / WhatsApp (not the browser's address bar) — the app should open on the right screen.
  • Deferred: uninstall the app, tap the link, install from the store (or your test build), open it — the same screen should appear.
  • Desktop: open the link on a computer — your website or the deep link URL should load.
  • Preview: send the link in WhatsApp and check the title, text and image.
Tip
Test with a build that contains the link domain — on Android signed with a key whose SHA-256 is in App info. A debug build needs the debug key's fingerprint.

Click Analytics next to a link (or anywhere on its row) for the last 30 days: clicks, installs credited to the link and app opens, per day, per platform and per country. Bot visits (link previews) aren't counted. Link analytics are on paid plans.

A link's Analytics tab. Share & QR has the short URL and its QR code.

More URL prefixes#

Choose the prefix in the dropdown on the AppLinks page; the list, Create New Link and Import CSV all use it. Each link lives on one prefix, and the same short URL can exist on different prefixes. Every domain must also be listed in your app (Associated Domains / intent filters) — a new domain needs a new app build.

Stuck? Write to support@codeonair.com with your App ID and what you tried — we reply within a working day.