What is deferred deep linking? How it works on Android and iOS, without Firebase
Deferred deep linking explained: how a link survives the app install, the Play Install Referrer API on Android, what works on iOS, and Firebase alternatives.
· 6 मिनट में पढ़ें

Short answer: a deferred deep link is a link that still opens the right screen when the app isn't installed yet. It sends the user to Google Play or the App Store, and the first time they open the app it "remembers" where they were going (an invite, a product, a level) and opens it. A normal deep link only works if the app is already installed. On Android you can build it yourself with the free Google Play Install Referrer API. On iOS there's no built-in way to pass data through an install, so you either use a deep linking service or a simpler first-open fallback. Firebase Dynamic Links, the old free option, shut down in August 2025.
What is deferred deep linking?
Deferred deep linking is deep linking that is deferred until after the install. The destination is saved when the user taps the link, and delivered to the app when it first opens.
A typical example: a friend sends you an invite link to their game lobby. You don't have the game. You tap the link, land on the Play Store, install, open the game, and you're in your friend's lobby instead of the generic first screen.
Deep link vs deferred deep link: what's the difference?
| Deep link | Deferred deep link | |
|---|---|---|
| App installed | Opens the screen directly | Opens the screen directly |
| App not installed | Opens your website (or the store), destination is lost | Goes to the store, destination is kept and opened after install |
| Built into Android and iOS | Yes: App Links and Universal Links | No: Android has a building block (Install Referrer), iOS has none |
| Typical uses | Links in email, web and notifications | Invites, referrals, ads, shared content for new users |
If you haven't set up normal deep links yet, start there: our guide to deep links, Universal Links and App Links covers the setup. Deferred deep linking sits on top of it.
How does deferred deep linking work?
- Tap: a user without your app taps a link, for example
https://example.com/invite/abc123. - Save the destination: the link goes to your server or a deep linking service first, which saves where the user was going (
invite=abc123). - Send to the store: the user is redirected to your Google Play or App Store listing and installs.
- Match on first open: the app starts and asks "did this user come from a link?" This is the hard step, and it works differently on each platform.
- Open the screen: the app reads the destination and shows the invite.
How do I do deferred deep linking on Android?
Android has a free, reliable way to do step 4: the Google Play Install Referrer API.
- Put your destination in the
referrerparameter of your Play Store link, URL-encoded:https://play.google.com/store/apps/details?id=com.example.app&referrer=invite%3Dabc123 - Add the
com.android.installreferrer:installreferrerlibrary to your app. - On first open, read the referrer:
val client = InstallReferrerClient.newBuilder(context).build()
client.startConnection(object : InstallReferrerStateListener {
override fun onInstallReferrerSetupFinished(responseCode: Int) {
if (responseCode == InstallReferrerClient.InstallReferrerResponse.OK) {
val referrer = client.installReferrer.installReferrer // "invite=abc123"
openFromReferrer(referrer)
}
client.endConnection()
}
override fun onInstallReferrerServiceDisconnected() {}
})
- Save a flag so you only handle it once. The referrer stays the same for that install, so without the flag you'd open the invite on every launch.
This works only for installs from Google Play. Your web link can decide where to send people: open the app with an App Link if it's installed, otherwise redirect to the Play Store URL with the referrer attached.
How do I do deferred deep linking on iOS?
The App Store doesn't pass any data from the link to your app after an install, so there's no iOS equivalent of the Install Referrer. Your options:
- A deep linking service. Branch, AppsFlyer OneLink, Adjust and Airbridge match the install to the earlier click for you. Check what data they collect, because you must declare it in your App Store privacy labels, and Apple doesn't allow fingerprinting devices to track users.
- The clipboard. A web page copies the destination to the clipboard and the app reads it on first open. Since iOS 16 that shows a "paste" permission prompt, so it's clunky and many users decline.
- Accounts or codes. If users sign in, store the pending invite against their email or account on your server, and fetch it after sign-in. Or show a short invite code the user types in. Low-tech, but private and reliable.
- A sensible default. Open the screen most new users come for, or ask "What brought you here?" on the first screen.
What replaced Firebase Dynamic Links?
Firebase Dynamic Links shut down in August 2025, and its links stopped working. There's no direct free replacement from Google. Most apps moved to:
- Universal Links and App Links for normal deep links (free, built into the platforms).
- The Install Referrer API for deferred deep links on Android (free).
- A paid or free-tier deep linking service when they need deferred deep links and attribution on both platforms.
If your app still has old page.link URLs in emails, docs or QR codes, replace them: they no longer open your app.
Do I actually need deferred deep links?
Only if new users arrive through links that point at something specific. You probably need them for:
- Invites and referrals ("join my team", "play with me").
- Shared content (a recipe, a playlist, a listing) that new users should land on.
- Paid campaigns that promise one specific thing.
You probably don't for a launch link, a website "Download" button or most social posts: those just need the store listing. For a launch, a clean store listing does more than any link trick.
Next steps
Set up normal deep links first, then add the Install Referrer on Android, and pick an iOS option based on how much invites matter to you. Test the full path on a phone that doesn't have the app: tap, install, first open. When it works, list your app on TrueLaunch for free so new users can find it in the first place.
Frequently asked questions
What is deferred deep linking?
A deep link that still works when the app isn't installed: it sends the user to the store, and when they open the app for the first time it opens the screen the link pointed to, such as an invite or a product.
What is the difference between a deep link and a deferred deep link?
A deep link only opens a specific screen when the app is already installed. A deferred deep link keeps the destination through the install and opens it the first time the app opens.
How do I do deferred deep linking on Android without Firebase?
Add the destination to the referrer parameter of your Google Play link, then read it on first open with the Google Play Install Referrer API. It's free and works for installs from Google Play.
Does iOS support deferred deep linking?
Not natively. The App Store doesn't pass link data through an install. Apps use a deep linking service, the clipboard (which shows a paste prompt), or store the pending destination against the user's account on the server.
Is Firebase Dynamic Links still working?
No. Firebase Dynamic Links shut down in August 2025. Use Universal Links and App Links for deep links, and the Install Referrer API or a deep linking service for deferred deep links.