Skip to main content
Documentation
Migration

Firebase Dynamic Links Migration

Recover from the Firebase Dynamic Links shutdown: recreate links, swap the SDK, and restore deep linking, install attribution, and analytics.

This guide is for teams whose links broke with the Firebase Dynamic Links shutdown: recreating those links on WarpLink, swapping the SDK, and restoring deep linking, install attribution, and analytics. It assumes a WarpLink account and app are already set up.

For the provider-agnostic playbook (planning, domains, cutover, decommissioning), see the general migration guide. This page covers only what is specific to recovering from Firebase Dynamic Links.

Google set the Firebase Dynamic Links shutdown for August 25, 2025. Google says all links, on page.link domains and on custom domains, stop working and return HTTP 404. There is nothing to reconfigure on the Firebase side, only links to recreate elsewhere.

Some Firebase Dynamic Links still redirect, for now

Google's FAQ says all links clicked return 404 after the shutdown. On October 8, 2026 we requested 32 real page.link short links from 25 domains found in the September 2026 Common Crawl, the way an iPhone does. 25 still redirected, 15 to the app's own website or store and 10 to a Firebase preview page. The other 7 returned an error or no redirect. A redirect only sends the tap to a web destination. Google can end these redirects at any time, and we do not know when. Migrate before they stop. To see whether a given link still redirects, use the Firebase Dynamic Links checker.

Concept Mapping

Firebase Dynamic LinksWarpLink
Dynamic LinkLink
Firebase console (Dynamic Links section)WarpLink dashboard
page.link domainyourapp.aplnk.to (your app's subdomain) or a custom domain
Firebase Hosting custom domainCustom domain
Link parameters (link, apn, ibi, social metadata)Link fields + OG tags
Google Analytics link-open loggingBuilt-in click analytics, viewed in the WarpLink dashboard

Firebase Dynamic Links has no working export path today. Google says the Short Links and Link Stats APIs return HTTP 400 or 403 after the shutdown. Google says the page.link prefix domains will be deleted, so a link on one that still redirects today can stop at any time. Google says links on a Firebase Hosting custom domain also 404, because the firebase.json rewrite that routed them to the Dynamic Links backend has nothing left to route to.

Rebuild your link list from whatever sources you still control:

  • App code. Deep link URLs are often hardcoded or referenced in app source, App Store or Play Store listings, or push notification payloads.
  • Marketing materials. Emails, ads, social bios, and printed QR codes that carried a Dynamic Link. Each one is a link you need to recreate before the material stops working.
  • Analytics referrers. Any analytics tool that recorded traffic from your page.link or Dynamic Links custom domain can reconstruct which destinations and campaigns mattered, even without the original link configuration.
  • A prior Google Takeout export. If your team exported Dynamic Link metadata via Google Takeout before the shutdown, that CSV is your best source. Firebase's own export documentation describes roughly 29 fields per link, including the short link, the destination URL, platform identifiers, fallback links, social preview text, and UTM parameters. That export cannot be run now that the product is shut down. If nobody on the team ran it, treat those links as gone and rebuild from the sources above.

Recreate each Dynamic Link in WarpLink via the dashboard or the REST API.

Parameter Mapping

Firebase ParameterWarpLink Field
link (deep link)destination_url. The SDK hands it to your app as deepLink.destination.
apn (Android package name) / ibi (iOS bundle ID)Configured once per app (android_package_name / ios_bundle_id), not per link. The Android package name also sets the Play Store URL, https://play.google.com/store/apps/details?id=<package>, the default Android fallback.
Apple Team ID and SHA-256 certificate fingerprints (Firebase project settings)Configured once per app: the iOS team ID and the Android SHA-256 fingerprints. WarpLink builds apple-app-site-association and assetlinks.json from them.
isi (App Store ID)Configured once per app as ios_app_store_url, https://apps.apple.com/app/id<ID>, the default iOS fallback for every link
afl / ifl (fallback links)android_fallback_url / ios_fallback_url
ofl (desktop fallback link)Desktop browsers open destination_url.
ius (iOS custom URL scheme)WarpLink opens the app through Universal Links and passes the link to onLink.
efr=1 (skip the iOS app-preview interstitial)Not needed. WarpLink redirects real users with a 302 and serves preview tags only to bots.
st / sd / si (social metadata)og_title / og_description / og_image_url
utm_source / utm_medium / utm_campaignSame fields on the link
utm_term / utm_contentAdd them as injected parameters on the link, which appends them to the destination.

The store URLs are the default fallbacks for every link. A per-link fallback overrides them. ios_url and android_url have no Firebase counterpart. They hold an optional per-platform deep link URL, such as yourapp://product/123, which the SDK returns as deepLink.deepLinkUrl. If your app routed on the URL in Firebase's link parameter, set destination_url to the same URL and route on deepLink.destination, so your router keeps working unchanged.

Create via API

Use an API key for this call. The SDK key belongs in the app. The response holds the short link, on your app's subdomain by default, such as https://yourapp.aplnk.to/spring-sale. Add "domain": "links.yourapp.com" once that custom domain is live. Social crawlers get a full HTML page with Open Graph and Twitter Card tags, and real users get the redirect. The links API reference lists every field.

Firebase's own Short Links API (POST https://firebasedynamiclinks.googleapis.com/v1/shortLinks) now returns errors, so this is not a live migration path, only the shape you are replacing. Custom slugs on WarpLink are 2 to 100 characters, lowercase alphanumeric with hyphens. Decide on a slug mapping before scripting if you want to preserve your old link paths.

If a Dynamic Link carried an invite code, create the replacement as a referral link (is_referral) and redeem it with the SDK. Android reads the invitation from the Play install referrer, and iPhone confirms it when the person taps the system paste control, so the match is exact on both. After sign-up, your app calls claimReferral and your backend receives a signed webhook. The referrals guide covers the full path.

3. Swap the SDK

Remove Firebase:

  1. Remove the FirebaseDynamicLinks package (SPM from firebase-ios-sdk.git, or CocoaPods Firebase/DynamicLinks)
  2. Remove DynamicLinks.dynamicLinks().handleUniversalLink(...) and DynamicLinks.dynamicLinks().dynamicLink(fromCustomSchemeURL:)
  3. Remove the -ObjC linker flag if it was added solely for this SDK, the Associated Domains entitlement for your old Dynamic Links domain, and (if set) the FirebaseDeepLinkPasteboardRetrievalEnabled Info.plist key
  4. Remove FirebaseApp.configure() unless you use other Firebase services

Add WarpLink:

4. Update SDK Initialization

Mobile apps authenticate with an SDK key, created in the dashboard under Keys > SDK keys. An API key looks identical but cannot record installs, so pasting one here leaves deep links working while attribution silently fails.

Before (Firebase):

After (WarpLink):

5. Update Domain Configuration

In Signing & Capabilities > Associated Domains:

Find your app's subdomain in the dashboard: open the app, then Settings. Or see Your app's own link address.

page.link domains are Google-owned. Google says the Dynamic Links shutdown comes with no forwarding, so any link built on a page.link domain must be reissued on a new domain. If your links instead used a custom domain you added to Firebase Hosting, the domain itself is yours: after you recreate your links on WarpLink, remove the old firebase.json Dynamic Links rewrite and point that domain at WarpLink. Existing shares, QR codes, and bookmarks on that domain keep working once the repoint is live.

Declare your app's subdomain in linkDomains as well. The SDK decides whether an incoming URL is a WarpLink link the moment it arrives, so a host it has not been told about is handed back to your own router on a fresh install.

Moving to a custom domain? Declare it to the SDK too: linkDomains at configure(), or the WarpLinkDomains plist key / app.warplink.DOMAINS manifest entry. That is what makes a custom-domain link resolve on the first launch. See Use it in your app.

Serve old URLs from a custom domain you own

Old URLs on a subdomain you control, with lowercase one-segment paths, keep working with no redirect hop:

  1. Recreate each link with the same slug, for example spring-sale for links.yourapp.com/spring-sale.
  2. Add the subdomain under Settings > Domains and add the two CNAME records the dashboard shows: one routes traffic, one lets WarpLink issue and renew the HTTPS certificate.
  3. Remove the Dynamic Links rewrite from firebase.json and switch DNS. Most changes apply in 5 to 15 minutes.
  4. Add the domain to Associated Domains, the intent filter, and linkDomains, so a tap opens the app instead of the browser.

Custom domains must be subdomains, because DNS does not allow a CNAME at the root of a domain. A DNS record also cannot map an old path to a new URL. A redirect has to come from an HTTP server, CDN rule, or edge function that answers on the old domain.

Redirect old URLs with mixed-case or nested paths

Firebase's generated suffixes are mixed case, such as aBc1, so they cannot be reused as slugs. For these and for paths with a prefix, such as /go/sale, keep the old domain on a host you run and answer each old path with an HTTP 301 to its new WarpLink URL. The same applies to links on your root domain. Build the rule list from your link inventory, one old path to one new URL.

Universal Links and App Links do not always open the app after a redirect from another domain, so a tap on an old URL can reach the WarpLink link in the browser. WarpLink then sends a phone to the app's store page, which shows Open when the app is installed, and a desktop browser to the destination_url. A user who installs from that store page still gets the deferred deep link. Test old URLs on a device with the app installed.

A page.link URL has no redirect to set up. Replace it wherever you can still edit it: email templates, CMS content, store listings, website buttons, social bios, and push templates. Reprint QR codes that carry a page.link URL. Ship an app update for any page.link URL hardcoded in the app.

The onLink callback set in step 4 already receives resolved links for cold start, warm start, and deferred installs.

Delete the DynamicLinks.dynamicLinks().handleUniversalLink(...) and DynamicLinks.dynamicLinks().dynamicLink(fromCustomSchemeURL:) calls. Forward the incoming activity to WarpLink (or set your scene delegate class to WarpLinkSceneDelegate):

Resolved links arrive in your onLink callback.

WarpLink runs the deferred deep link check automatically from configure(). The match arrives in the same onLink callback, flagged with isDeferred. There is no separate deferred call to port from Firebase.

This matters more for a Firebase migration than it might elsewhere. Google's own migration guidance for Dynamic Links is explicit that switching to native App Links and Universal Links does not include deferred deep linking: there is no "continue the user's journey after they install the app" behavior without a third-party SDK, only the app opening to its default screen. An app that relied on Dynamic Links resuming a user's journey after an install needs a real replacement for that, not just updated Associated Domains entries.

On iPhone, Tether makes the first-open match exact. The page a person taps copies a short code, and an app on SDK 1.4.0 or newer reads it and gets the link's destination and parameters. Without Tether, the first open gets an estimate. See SDK read modes for the setup.

Handle the deferred case inside your onLink callback:

To run the check manually instead, set the deferred opt-out flag and call checkDeferredDeepLink() yourself (see the deferred deep links guides for iOS, Android, React Native, and Flutter).

8. Attribution and Reporting

WarpLink attributes installs to the link that drove them through a match cascade: an invitation token from a referral link, an exact referrer signal (Play Install Referrer) on Android, an enriched probabilistic match on both platforms, and a device ID (IDFV) check on iOS that recognizes an install asking again, with a confidence score on every result. See the iOS attribution guide (or the Android, React Native, and Flutter equivalents) for match types, confidence bands, and privacy details.

Firebase Dynamic Links did not provide install attribution beyond link-open tracking. Click analytics for every link appear in the WarpLink dashboard. View your link reporting there, or send the event to Google Analytics from inside the app.

There is no live Firebase SDK to run alongside WarpLink during a transition: Google set the Dynamic Links shutdown for August 25, 2025, so there is no dual-SDK overlap period to manage. A physical device test, click a link and confirm the install, is the only way to verify the new setup, since the old provider can no longer serve a side-by-side comparison.

Testing Checklist

After migration, verify on each platform:

  • SDK initializes: enable debug logging and check console output
  • Deep links open the app: tap a WarpLink URL on a physical device
  • Deep link data resolves: destination and custom parameters are correct
  • Deferred deep links work: click link, install, verify match. An uninstall is enough to retest on either platform, because the completion marker goes with the app. That second install is reported as a reinstall and still counts as an install
  • AASA/assetlinks verified: curl https://yourapp.aplnk.to/.well-known/apple-app-site-association and curl https://yourapp.aplnk.to/.well-known/assetlinks.json
  • Error handling: test invalid URLs, expired links, no connectivity
  • All Firebase code removed: no remaining imports or dependencies
  • Clean build: no compilation errors

Platform checks

iOS

  1. Open https://yourapp.aplnk.to/.well-known/apple-app-site-association and confirm your team ID, bundle ID, and paths.
  2. Paste a link into Notes and long-press it. The menu should offer to open it in your app.
  3. If links open Safari, check Settings > Developer > Associated Domains Diagnostics on the device.

Android

  1. Open https://yourapp.aplnk.to/.well-known/assetlinks.json and confirm your package name and SHA-256 fingerprint.
  2. Simulate a tap:
  1. If Android shows an "Open with" chooser, App Links verification failed. Check that the fingerprint matches the key that signed the installed build, including Play App Signing.

Common test issues

SymptomLikely causeFix
Link opens in the browser instead of the appAssociation file not verified, or the domain is missing from the entitlement or intent filterCheck both well-known files and the applinks: entry or intent filter host
A fresh install hands the link to your own routerThe link domain is not declared to the SDKAdd the host to linkDomains
First-install match never arrivesAn API key in configure() instead of an SDK keyCreate an SDK key under Keys and use it in the app
First-install match arrives on one test but not anotherThe device changed networks between the tap and the first open, or the open came after the link's match windowRepeat the test on one network and open the app soon after install. On Android, install from Google Play so the install referrer carries the match.
App opens but stays on the home screenYour router does not handle the URL from onLinkLog deepLink.destination and deepLink.deepLinkUrl and add the route

Next Steps