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 Links | WarpLink |
|---|---|
| Dynamic Link | Link |
| Firebase console (Dynamic Links section) | WarpLink dashboard |
page.link domain | yourapp.aplnk.to (your app's subdomain) or a custom domain |
| Firebase Hosting custom domain | Custom domain |
Link parameters (link, apn, ibi, social metadata) | Link fields + OG tags |
| Google Analytics link-open logging | Built-in click analytics, viewed in the WarpLink dashboard |
1. Export Your Links
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.linkor 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.
2. Recreate Your Links
Recreate each Dynamic Link in WarpLink via the dashboard or the REST API.
Parameter Mapping
| Firebase Parameter | WarpLink 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_campaign | Same fields on the link |
utm_term / utm_content | Add 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
curl -X POST https://api.warplink.app/v1/links \
-H "Authorization: Bearer wl_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"destination_url": "https://yourapp.com/product/123",
"app_id": "YOUR_APP_ID",
"slug": "spring-sale",
"ios_url": "myapp://product/123",
"android_url": "myapp://product/123",
"ios_fallback_url": "https://apps.apple.com/app/id000000000",
"android_fallback_url": "https://play.google.com/store/apps/details?id=com.yourapp",
"og_title": "Check out this product",
"og_image_url": "https://yourapp.com/product.jpg",
"utm_source": "newsletter"
}'
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.
Recreate invite and referral links
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:
- Remove the
FirebaseDynamicLinkspackage (SPM fromfirebase-ios-sdk.git, or CocoaPodsFirebase/DynamicLinks) - Remove
DynamicLinks.dynamicLinks().handleUniversalLink(...)andDynamicLinks.dynamicLinks().dynamicLink(fromCustomSchemeURL:) - Remove the
-ObjClinker flag if it was added solely for this SDK, the Associated Domains entitlement for your old Dynamic Links domain, and (if set) theFirebaseDeepLinkPasteboardRetrievalEnabledInfo.plist key - Remove
FirebaseApp.configure()unless you use other Firebase services
Add WarpLink:
// Package.swift
dependencies: [
.package(url: "https://github.com/WarpLinkApp/warplink-ios-sdk", from: "1.4.1")
]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):
import FirebaseCore
FirebaseApp.configure()After (WarpLink):
import WarpLink
WarpLink.configure(
apiKey: "wl_live_yoursdkkeyhere000000000000000000",
options: WarpLinkOptions(onLink: { result in
if case .success(let link) = result, let link {
navigate(to: link) // taps AND deferred installs (check link.isDeferred)
}
})
)5. Update Domain Configuration
In Signing & Capabilities > Associated Domains:
- applinks:yourapp.page.link
+ applinks:yourapp.aplnk.toFind 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:
- Recreate each link with the same slug, for example
spring-saleforlinks.yourapp.com/spring-sale. - Add the subdomain under Settings > Domains and add the two
CNAMErecords the dashboard shows: one routes traffic, one lets WarpLink issue and renew the HTTPS certificate. - Remove the Dynamic Links rewrite from
firebase.jsonand switch DNS. Most changes apply in 5 to 15 minutes. - 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.
Replace page.link URLs you can edit
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.
6. Migrate Deep Link Handling
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):
func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {
WarpLink.continue(userActivity)
}Resolved links arrive in your onLink callback.
7. Migrate Deferred Deep Links
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:
options: WarpLinkOptions(onLink: { result in
guard case .success(let deepLink) = result, let deepLink else { return }
if deepLink.isDeferred {
print("Match confidence: \(deepLink.matchConfidence ?? 0)")
}
navigate(to: deepLink)
})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-associationandcurl 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
- Open
https://yourapp.aplnk.to/.well-known/apple-app-site-associationand confirm your team ID, bundle ID, and paths. - Paste a link into Notes and long-press it. The menu should offer to open it in your app.
- If links open Safari, check Settings > Developer > Associated Domains Diagnostics on the device.
Android
- Open
https://yourapp.aplnk.to/.well-known/assetlinks.jsonand confirm your package name and SHA-256 fingerprint. - Simulate a tap:
adb shell am start -a android.intent.action.VIEW \
-c android.intent.category.BROWSABLE \
-d "https://yourapp.aplnk.to/your-slug"
- 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
| Symptom | Likely cause | Fix |
|---|---|---|
| Link opens in the browser instead of the app | Association file not verified, or the domain is missing from the entitlement or intent filter | Check both well-known files and the applinks: entry or intent filter host |
| A fresh install hands the link to your own router | The link domain is not declared to the SDK | Add the host to linkDomains |
| First-install match never arrives | An API key in configure() instead of an SDK key | Create an SDK key under Keys and use it in the app |
| First-install match arrives on one test but not another | The device changed networks between the tap and the first open, or the open came after the link's match window | Repeat 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 screen | Your router does not handle the URL from onLink | Log deepLink.destination and deepLink.deepLinkUrl and add the route |
Next Steps
- General migration guide: the provider-agnostic playbook for planning, domains, cutover, and decommissioning.
- Quickstart: create your first link and get an SDK key.
- iOS SDK, Android SDK, React Native SDK, and Flutter SDK: full setup and API reference.
- Migration plan and checklist: the planning guide, with the order of work and a test checklist, plus before-and-after code for each platform.
- Firebase Dynamic Links alternative: why teams are choosing WarpLink after the shutdown.
Migration
Move from any deep linking provider to WarpLink: link recreation, SDK swap, app association, cutover, and verification, with a guide for each provider.
Your App's Own Link Address
Set up your app's own {handle}.aplnk.to link address, test it on a phone, and make it the default for new links. Existing links keep their addresses.