Skip to content
CodeOnAir
← All posts

Expo deep linking not working on Android: 7 fixes that work

Your Expo app's links open the browser, do nothing or land on the wrong screen on Android. Seven causes in the order to check them, from Expo Go and stale native builds to assetlinks.json fingerprints and Expo Router paths, with the command that confirms each.

CodeOnAir team8 min read

When deep links fail in an Expo app on Android, the cause is usually one of three things: you're testing in Expo Go, the native build is older than your app.json change, or the SHA-256 fingerprint in assetlinks.json doesn't match the key that signed the build. Check those first. Two adb commands tell you which one you have, and the seven fixes below are in the order worth checking.

This post is about fixing a setup that doesn't work. To set one up from nothing, follow Expo deep linking: Universal Links and App Links with Expo Router.

First, find out which kind of failure you have

Run these with the phone or emulator connected. Replace the package name and URL with yours.

# 1. Does Android think your app owns the domain?
adb shell pm get-app-links com.yourcompany.app

# 2. Open the link the way a tap would
adb shell am start -W -a android.intent.action.VIEW \
  -c android.intent.category.BROWSABLE \
  -d "https://links.example.com/product/42"

Read the result like this:

What you see Go to
The package isn't listed, or your domain isn't under it Fix 1, 2 or 3
Your domain shows legacy_failure, none or a number such as 1024 Fix 4 or 5
Your domain shows verified, but the link opens the browser Fix 5 or 6
The app opens on the wrong screen or a "not found" route Fix 7

pm get-app-links needs Android 12 or later. On older versions, the am start command is the test.

Fix 1: stop testing in Expo Go

Expo Go is a ready-made app with its own package name and its own exp:// scheme. Your scheme, your intentFilters and your domain aren't part of it, so myapp:// links and https:// App Links can't open your project there.

Fix: make a development build, which is your own app with your native settings.

npx expo run:android          # local build on a connected device or emulator
# or
eas build --profile development --platform android

Fix 2: rebuild after every app.json change

scheme, android.intentFilters and android.package are native settings. They are written into AndroidManifest.xml when the native project is generated, so a JavaScript reload or an over-the-air update doesn't apply them. A build made before the change simply doesn't have the intent filter.

Fix: build again after changing them. If your repository contains an android/ folder, regenerate it first, because prebuild doesn't overwrite a folder that already exists unless you ask:

npx expo prebuild --clean --platform android
npx expo run:android

Then check what was built. The manifest inside the build is the truth, not app.json:

adb shell dumpsys package com.yourcompany.app | grep -A 12 "android.intent.action.VIEW"

Your scheme and your host should both be in the output.

Fix 3: correct the intent filter

For https:// links, Expo's documentation says autoVerify is required for App Links to work correctly. The filter also needs both categories. This is the shape that works:

{
  "expo": {
    "scheme": "myapp",
    "android": {
      "package": "com.yourcompany.app",
      "intentFilters": [
        {
          "action": "VIEW",
          "autoVerify": true,
          "data": [{ "scheme": "https", "host": "links.example.com" }],
          "category": ["BROWSABLE", "DEFAULT"]
        }
      ]
    }
  }
}

Common mistakes:

  • autoVerify missing, so Android shows a chooser or opens the browser.
  • host written with https:// in front or a slash at the end. It's a bare host name.
  • www.example.com in the filter while the links use example.com. Each host needs its own data entry and its own assetlinks.json.
  • A custom scheme and https in the same filter with autoVerify. Keep the custom scheme in the top-level scheme field and the https hosts in the filter.

Fix 4: put the right fingerprints in assetlinks.json

Android opens your app for a domain only if https://<host>/.well-known/assetlinks.json lists the SHA-256 fingerprint of the certificate that signed the installed build. An Expo app often has three different ones:

Build Signed with Where to find the fingerprint
Local debug build (npx expo run:android) The debug keystore keytool -list -v -keystore android/app/debug.keystore -storepass android
EAS build The keystore EAS keeps for the profile eas credentials -p android, under SHA256 Fingerprint
Installed from Google Play The Play App Signing key Play Console, App signing (it also shows a ready JSON snippet)

The usual story: the link works in the build you tested and fails for the app from Google Play, because Play signs the app again with its own key. sha256_cert_fingerprints is an array, so list every key you install with.

[
  {
    "relation": ["delegate_permission/common.handle_all_urls"],
    "target": {
      "namespace": "android_app",
      "package_name": "com.yourcompany.app",
      "sha256_cert_fingerprints": ["AA:BB:…", "CC:DD:…"]
    }
  }
]

The file must answer with HTTP 200, Content-Type: application/json and no redirect. In an Expo Router web project it goes in public/.well-known/assetlinks.json. The validator checks the file the way Google reads it, and the generator builds it from your package name and fingerprints. More on reading the verification states: Android App Links not verified? Fix assetlinks.json.

Fix 5: make Android verify again

Android checks the domain when the app is installed. Expo's guide notes it can take 20 seconds or longer, so a test straight after install can fail for no other reason. And if you fixed the file after installing, the old result stays.

Fix: ask for a new check, wait, and read the state again.

adb shell pm verify-app-links --re-verify com.yourcompany.app
sleep 30
adb shell pm get-app-links com.yourcompany.app

If it still fails with a correct file, uninstall and install again. Also look at the phone's own setting: under the app's Open by default screen, Open supported links must be on and your domain ticked. A person (or a tester) can turn it off there.

Fix 6: check where the link is tapped

A verified link can still open a browser, because of the app it was tapped in:

  • Typed in Chrome's address bar: Chrome loads the page. Only a tap on a link counts.
  • Instagram, Facebook and other in-app browsers: they keep links inside their own web view. See why links open in the Instagram browser for the open-in-app page that solves it.
  • A script redirect: if a page forwards the browser to the link without a tap, Chrome keeps it in the browser.

Test by tapping the link in a notes app or a chat message. The deep link tester shows how a link opens from several apps.

Fix 7: the app opens, but on the wrong screen

At this point the native side works and the problem is routing.

With Expo Router, the URL path is the route. https://links.example.com/product/42 needs app/product/[id].tsx. If your public URLs don't match your file names, rewrite them in app/+native-intent.tsx:

export function redirectSystemPath({ path, initial }: { path: string; initial: boolean }) {
  try {
    const url = new URL(path, "myapp://app");
    if (url.pathname.startsWith("/p/")) return `/product/${url.pathname.slice(3)}`;
    return path;
  } catch {
    return "/";
  }
}

This function runs outside your app's React tree, so it can't read login state. Expo's documentation warns not to let it throw.

Without Expo Router, read the URL with expo-linking. The hook covers both the link that started the app and links that arrive while it's open:

import * as Linking from "expo-linking";

const url = Linking.useLinkingURL();
useEffect(() => {
  if (!url) return;
  const { path, queryParams } = Linking.parse(url);
  // navigate with path and queryParams
}, [url]);

Two more things cause "works when the app is open, fails from a cold start": navigating before the navigator has mounted, and navigating before the login check has finished. Keep the link in state and act on it when both are ready.

Custom scheme links: a quick test

For myapp:// links, skip the browser and use Expo's tool:

npx uri-scheme open "myapp://product/42" --android

If this fails in a development build, the scheme isn't in the build (fix 2). Don't use a custom scheme for links you share in public: it shows an error when the app isn't installed, and many apps won't make it tappable.

FAQ

Why does my Expo deep link work on iOS but not on Android?

The two platforms verify the domain separately. iOS reads apple-app-site-association and the Associated Domains entitlement, while Android reads assetlinks.json and the intent filter. A wrong fingerprint or a missing autoVerify breaks Android only.

Do Android App Links work in Expo Go?

No. Expo Go has its own package name, so your domain can't be verified for it. Use a development build.

Why does the link work in my test build but not from Google Play?

Google Play signs the release with the Play App Signing key, which has a different SHA-256 fingerprint from your debug or EAS keystore. Add the Play fingerprint to assetlinks.json.

How long does Android take to verify App Links?

It starts when the app is installed and usually finishes within a minute. Expo's guide says to allow 20 seconds or more before testing.

Will the link still work for someone who doesn't have the app?

Not on its own. An App Link opens the web page when the app is missing. To send that person to Google Play and then to the right screen after install, you need deferred deep linking.

Skip the verification files with CodeOnAir

CodeOnAir AppLinks hosts assetlinks.json and apple-app-site-association for your link domain, and its Expo config plugin adds the intent filter, Associated Domains and scheme for you:

{ "plugins": [["@codeonair/deeplink-react-native", { "appId": "proj_…", "domains": ["yourapp.codeonair.com"], "scheme": "myapp" }]] }

Links also survive the install, so a new user lands on the screen the link pointed to. The steps are in the React Native and Expo SDK docs. You can create a free account and try it with 100 app links on the Free plan.


Checked on 15 November 2026 against Expo's Android App Links, linking and +native-intent documentation, Android's App Links verification documentation, and the @codeonair/deeplink-react-native config plugin source.

Your first AppLink in five minutes.

Create an app, pick a subdomain, and share a link that opens your app. Try Growth free for 30 days — no card needed.