Firebase Dynamic Links migration guide: find, map and replace every link
, 5 min read
Firebase Dynamic Links stopped working on August 25, 2025. If your app or marketing still uses them, users are hitting errors right now, and the SDK is dead weight in your build.
This guide is the hands-on part. It covers finding every link, deciding what each one becomes, replacing it, and removing the SDK. If you haven't chosen a replacement yet, read Firebase Dynamic Links alternatives in 2026 first. The short version: Universal Links and App Links for in-app deep links, a smart link for store routing, and a paid SDK only if you truly need deferred deep links.
Step 1: find every Dynamic Link
FDL links hide in three places: your code, your Firebase project, and everything you ever published.
In the codebase:
# Hard-coded links and domains
grep -rnE "page\.link|firebasedynamiclinks|dynamicLinkDomain" \
--include=*.{ts,tsx,js,jsx,swift,m,mm,kt,java,dart,json,xml,plist,gradle} .
# SDK usage
grep -rnE "dynamic-links|dynamicLinks\(|FirebaseDynamicLinks|DynamicLinks\.|firebase_dynamic_links" \
--include=*.{ts,tsx,js,jsx,swift,m,mm,kt,java,dart,gradle,podspec} . Podfile package.json pubspec.yaml 2>/dev/null
Check these too: Info.plist and .entitlements for applinks:yourapp.page.link, AndroidManifest.xml for intent filters on page.link hosts, and backend code that called the REST API to create short links (for referrals and invites).
Outside the codebase: list the short links you created in the Firebase console, if you still have them exported, and then search:
- Website download buttons and footers
- Social bios, pinned posts, YouTube descriptions
- Email templates, signatures, onboarding sequences
- Ads and app store promotional text
- Printed QR codes. These can't be edited, so they need new codes.
Confirm a link is dead:
$ curl -s -o /dev/null -w "%{http_code}\n" https://yourapp.page.link/abc
Anything other than a redirect to your app means it's broken.
Want the short way?
Smart App Link gives you one link that opens the App Store on iPhone and Google Play on Android. Free, no card.
Step 2: map each parameter to its replacement
Expand a few of your links and look at their parameters. Each one has a clear new home:
| FDL parameter | What it did | Replace with |
|---|---|---|
link | The deep link opened in the app | A path on your domain, opened via Universal Links / App Links |
isi | App Store ID | The App Store URL in your smart link |
ibi | iOS bundle ID | appIDs in apple-app-site-association |
apn | Android package | The Play URL in your smart link, plus package_name in assetlinks.json |
ifl, afl | Custom iOS / Android fallback URL | The smart link's store URLs |
ofl | Desktop fallback | The smart link's website (fallback) URL |
st, sd, si | Social preview title, description, image | Open Graph tags on your page, or the smart link's custom social preview (Pro) |
utm_source, utm_medium, utm_campaign | Campaign tracking | ?utm_source= on the smart link; referrer= on the Play URL |
pt, ct, mt | App Store campaign tokens | The same tokens on the App Store URL in your smart link |
amv, imv | Minimum app version | Handle in-app: check the version and prompt for an update |
efr | Skip the preview page | Not needed. Smart links don't show an interstitial |
Then sort your links into two buckets:
- Download links (no meaningful
link, orlinkpoints at your home page): replace each one with one smart link. Most marketing links are in this bucket. - Content links (
linkpoints at a product, profile, invite or reset screen): rebuild them ashttps://yourapp.com/...paths with Universal Links and App Links, and point those pages' web fallback at your smart link.
Step 3: replace download links
- Create a free smart link and paste your App Store or Play URL from
isi/apn. The other store fills in automatically. - Set the website fallback to whatever
oflwas. - Give each placement a source tag so you can see what still drives traffic:
https://smartapplink.app/r/yourapp?utm_source=website_footer
https://smartapplink.app/r/yourapp?utm_source=welcome_email
https://smartapplink.app/r/yourapp?utm_source=packaging_qr
- Replace the links in every place from Step 1, and reprint QR codes with the new URL. You can make a QR code with the free QR code generator. From now on, if your store URLs change, you edit the smart link and every printed code keeps working.
Step 4: replace content links in the app
Here's what a React Native app with @react-native-firebase/dynamic-links typically had:
// Before: FDL
import dynamicLinks from "@react-native-firebase/dynamic-links";
useEffect(() => {
dynamicLinks().getInitialLink().then((link) => link && handle(link.url));
return dynamicLinks().onLink((link) => handle(link.url));
}, []);
The replacement uses React Native's own Linking. There's no Firebase involved, and the URL is the real one on your domain:
// After: Universal Links / App Links via Linking
import { Linking } from "react-native";
useEffect(() => {
Linking.getInitialURL().then((url) => url && handle(url));
const sub = Linking.addEventListener("url", ({ url }) => handle(url));
return () => sub.remove();
}, []);
If you use React Navigation, delete handle entirely and declare the paths in the linking config. The full setup (AASA file, assetlinks.json, the native config and testing) is in smart app links in React Native.
Links that create FDL links (invite and referral codes) need a new generator. Since your links are now plain URLs on your domain, it's just string building:
// Before: POST to firebasedynamiclinks.googleapis.com/v1/shortLinks
// After:
const inviteUrl = `https://yourapp.com/invite/${encodeURIComponent(code)}`;
Step 5: fix Firebase Auth email-link sign-in
If you use passwordless email link sign-in, your ActionCodeSettings probably set dynamicLinkDomain. That domain no longer works. Firebase Auth now sends these links through a Firebase Hosting domain instead: replace dynamicLinkDomain with linkDomain (your *.web.app, *.firebaseapp.com or custom Hosting domain), and make sure your app handles that domain with Universal Links and App Links. You'll need a recent Firebase SDK version. Follow Firebase's "Migrate from Dynamic Links for email link authentication" guide for your platform.
Step 6: remove the SDK
React Native (React Native Firebase):
npm uninstall @react-native-firebase/dynamic-links
cd ios && pod install && cd ..
Expo: also remove @react-native-firebase/dynamic-links from plugins in app.json (if it's there), then rebuild with npx expo prebuild --clean or eas build.
Native Android: delete from app/build.gradle:
implementation("com.google.firebase:firebase-dynamic-links")
Native iOS: remove FirebaseDynamicLinks from your Podfile or Swift Package dependencies, and delete applinks:yourapp.page.link from Associated Domains.
Flutter: flutter pub remove firebase_dynamic_links.
Rebuild and run the grep from Step 1 again. It should come back empty.
Step 7: verify
- Every old placement now uses the smart link, and
curlshows nopage.linkon your site - The smart link opens the App Store on iPhone and Google Play on Android
-
https://yourapp.com/product/42opens the app when it's installed (tap it from Notes / Messages, not the address bar) - The same link, with the app uninstalled, lands in the right store
-
adb shell pm get-app-links com.yourcompany.appshows your domain asverified - Email-link sign-in works end to end
- Top sources in your smart link analytics shows traffic arriving from each tagged placement
Start with the easy half. Most FDL links were download links, and you can replace them in minutes. Create a free smart link. No card, free for 3 links.