Deep links in a mobile app after the Firebase Dynamic Links shutdown — how to fix them

App links return 404 or open the browser? What happened to Firebase Dynamic Links, what to replace them with, what breaks App Links and Universal Links, how to fix email link sign-in and how much the fix costs.

Zespół Mobilesoft· Engineering team· 27 listopada 2026· 11 min czytania

A newsletter link was supposed to open a promotion screen, but it opens a 404 page. A QR code on a flyer leads nowhere. A user who tapped "reset password" in an email lands in the browser instead of the app. We get reports like these more and more often when taking over and maintaining apps — and very often they share one cause: Firebase Dynamic Links, a service that stopped working in August 2025.

Not every link problem comes from Dynamic Links. App Links on Android and Universal Links on iOS can stop working after a certificate change, a transfer to another developer account or a website rebuild. This article covers how to find the cause, what to replace Dynamic Links with, what to watch out for in the configuration and how much a fix costs.

Symptoms and most common causes

Symptom Most common cause A link on a *.page.link domain returns 404 Firebase Dynamic Links shutdown — these links cannot be restored A link on your own domain returns 404 or a blank page The domain was connected to Dynamic Links through Firebase Hosting; redirect rules still point to the shut-down service Email link sign-in, password reset or email verification doesn't open the app Firebase Authentication relied on Dynamic Links; the app has an old SDK or lacks the new domain configuration The link opens the website in the browser instead of the app (Android) App Links verification fails: wrong certificate fingerprint in assetlinks.json, a redirect, the file is unreachable The link opens Safari instead of the app (iOS) An error in the apple-app-site-association file, a different Team ID, an outdated copy of the file on Apple's servers The app opens, but on the home screen instead of the right content The app doesn't handle that path or loses the parameters, e.g. on first launch or when the user is not signed in After installing from the store, the user doesn't land on the linked content No deferred deep linking, which Dynamic Links used to provide

The first three rows are about Dynamic Links; the rest are about configuration that may have worked for years and broke along with some other change.

What exactly happened to Firebase Dynamic Links

Google shut the service down on 25 August 2025. According to the Firebase documentation, since that day:

  • clicked links return an HTTP 404 error to users — both on *.page.link domains and on custom domains,
  • *.page.link domains cannot be kept or transferred, and custom domain prefixes have been removed from projects,
  • the Short Links and Link Stats APIs return 400 or 403 errors,
  • the SDK in the app doesn't crash, but it returns errors or empty data — the app code has to handle that.

Firebase Authentication causes the most trouble. Email link sign-in, password reset and email verification in mobile apps used to rely on Dynamic Links. Firebase now creates these links on the project's default Firebase Hosting domain (or on a custom domain set as linkDomain). This requires Firebase Authentication SDK 11.8.0 or later on iOS and 23.2.0 or later on Android (BoM 33.9.0 or later), plus adding the domain to the app configuration. Older app versions won't handle these features any more, so some users need to be nudged to update — we describe how in the article on forcing a minimum supported version.

Dynamic Links is just one example of services shut down in recent years. We've collected the others in the article on deprecated SDKs and APIs.

What to replace Dynamic Links with

Solution When it's enough Limitations App Links (Android) and Universal Links (iOS) on your own domain Links point to content that also has a web address: a product, an article, an order, a password reset No deferred deep linking or click statistics out of the box; you need to maintain the verification files and a fallback page Third-party service (e.g. Branch, AppsFlyer, Adjust, Airbridge, Singular, Kochava) Marketing campaigns, referrals, install attribution, deferred deep linking Subscription cost, another SDK in the app, another vendor the app depends on Custom URL scheme (myapp://…) Only communication between your own apps or returning from a payment Doesn't work at all without the app; another app can register the same scheme No replacement Links were used once, e.g. in an old campaign You still need to remove the SDK and the code waiting for them

In most apps we maintain, App Links and Universal Links on your own domain are enough. A third-party service is worth considering when marketing needs install attribution from campaigns — at that point choosing a vendor is more of a business decision than a technical one.

If you used Dynamic Links with a custom domain (e.g. link.company.com), you can reuse it: change the redirect rules in firebase.json on Firebase Hosting or connect the domain to the new solution. Printed QR codes and old emails will then work again. Links on *.page.link can't be saved — they need to be replaced wherever they can still be changed.

App Links on Android: what breaks verification

Android opens a link in the app without asking the user only if it verifies that the domain belongs to the app. Since Android 12, a link on an unverified domain opens in the browser by default, so a verification error means the app "stops responding" to links. The most common causes:

  • Wrong certificate fingerprint in assetlinks.json. With Play App Signing, Google signs the app, and the file must contain the SHA-256 fingerprint of the app signing key from Play Console, not the upload key used to sign the bundle locally. It's best to include both — the upload key helps when testing builds installed outside the store.
  • The file isn't available at the right address. It must be at https://domain/.well-known/assetlinks.json, return status 200 and type application/json, without redirects. After a website rebuild, a hosting change or enabling bot protection, the file can disappear or return an HTML page.
  • Missing domains. The app handles company.com and www.company.com, but the file is only on one of them. Every domain in the manifest needs its own file.
  • Missing android:autoVerify="true" in the intent filter — common in apps migrated from another framework.

You can check verification status on a device with adb shell pm get-app-links <package> and force re-verification with adb shell pm verify-app-links --re-verify <package>. Play Console also has a deep links report that shows domain configuration errors.

Since Android 15, Dynamic App Links let you keep path, parameter and exclusion rules in assetlinks.json and change them without releasing a new app version. Server rules can only narrow what's declared in the manifest, though — they can't extend it. Older Android versions use the manifest only.

Universal Links on iOS: what breaks the association

On iOS the equivalent is the apple-app-site-association (AASA) file at https://domain/.well-known/apple-app-site-association and an applinks: entry in the app's Associated Domains. Typical problems:

  • Team ID. The file contains an identifier in the TEAMID.bundle.id format. After transferring the app to another account you need to add an entry with the new Team ID — otherwise links will stop working after the first update.
  • The copy of the file on Apple's servers. Devices don't download the file from your server but from Apple's CDN, which keeps a copy. A change to the file may show up with a delay — developers on Apple's forums have reported several days. The ?mode=developer mode bypasses the CDN, but only on devices in developer mode; TestFlight and App Store builds always use the CDN. If your server blocks traffic from outside your country or has bot protection, Apple's CDN may not fetch the file at all.
  • Behaviour depends on where the link is tapped. A link typed into the Safari address bar or tapped on a page on the same domain stays in the browser. In-app browsers in some messengers and social networks also often open the link themselves.
  • Links tracked by the email tool. Newsletter tools replace addresses with their own tracking domain. That domain isn't associated with the app, so the link opens in the browser. The fix is a custom tracking domain with the verification files, or disabling tracking for app links.

Deferred deep links after install

Dynamic Links could pass the link content to an app installed only after the click — after installing, the user landed on the product, not on the welcome screen. App Links and Universal Links don't do this.

On Android, part of this is covered by the Google Play Install Referrer API: a store link can carry a parameter that the app reads on first launch. iOS has no equivalent — third-party services rely on their own matching mechanisms. Before you pay for such a service, check in your app analytics how many installs actually come from links. Often it's enough for the app to show, after sign-up, the content the user started from, remembered on the fallback page.

Fix plan for an existing app

  1. Link inventory. Where the app is linked from: transactional emails and newsletters, SMS, push notifications, QR codes on printed materials, ad campaigns, the website, Firebase Authentication links. For each source: can it still be changed?
  2. Code review. Does the app include the Dynamic Links SDK, which Firebase Authentication version it uses, which paths it handles and what it does with an unknown link.
  3. Domain and verification files. Choosing a domain (ideally the same as the website), assetlinks.json and AASA with the correct certificates and Team ID, a fallback page for people without the app — with content or a store button, not a 404 error.
  4. App release. Removing the Dynamic Links SDK, updating Firebase Authentication, handling the new links, including on first launch and for signed-out users.
  5. Device tests. Taps from email, SMS, a messenger and the browser, with and without the app installed, on Android 11 and later and on iOS. These cases are worth adding to the tests for an old app, so the next website change doesn't break them without warning.
  6. Monitoring. The number of app opens from links and the number of visits to the fallback page. A sudden drop in the first or rise in the second signals that verification has stopped working.

While you're at it, review what the app does with link data. A deep link is data from whoever prepared it — it shouldn't change account settings or make payments without confirmation. We cover this in more detail in the article on the most common security vulnerabilities.

How much it costs

Scope Estimated effort At PLN 180 net per hour Link inventory and app code review 4–12 h approx. PLN 0.7k–2.2k Verification files, domain configuration, fallback page 4–16 h approx. PLN 0.7k–2.9k App Links and Universal Links handling in the app (Android and iOS) 12–32 h approx. PLN 2.2k–5.8k Firebase Authentication link migration and SDK update 4–16 h approx. PLN 0.7k–2.9k Third-party service integration with deferred deep linking (if needed) 16–40 h approx. PLN 2.9k–7.2k Device tests and release 8–16 h approx. PLN 1.4k–2.9k

The amounts are estimates and depend on the number of paths, the app's technology and whether an old Firebase SDK drags along updates of other libraries. The rate is an example — we set the actual cost after reviewing the project. A third-party service also means the vendor's subscription.

Summary

If links to your app return 404 or open the browser, first check whether the app used Firebase Dynamic Links — the service has been down since 25 August 2025, and links on *.page.link are gone. A custom domain can be reused. In most cases App Links and Universal Links on your own domain are the replacement; a third-party service is only needed for campaigns and install attribution. The verification files cause the most trouble: the key fingerprint from Play Console, the Team ID after an account transfer, redirects and server-side blocking.

We fix links as part of mobile app maintenance, and we configure verification files and fallback pages as part of backend and API work. When taking over a mobile app we check which retired services the app depends on. If you want to know whether your app has outdated SDKs, request a free app analysis or contact us.