Software Mansion

Software Mansion: How to Integrate Deferred Deep Linking in Flutter

Original post How to Integrate Deferred Deep Linking in Flutter

Article Summary

Bartek Krasoń and Mateusz Turbański from Software Mansion tackle one of mobile's trickiest UX problems: getting users to the right screen after they install your app from a link. Their solution using Detour eliminates the dreaded "generic home screen" landing.

This technical guide walks through implementing deferred deep linking in Flutter apps, where users who click a link before installing still land on the intended destination screen on first launch. The authors demonstrate integration with Detour, a developer-focused SDK that handles the attribution gap between link click and app install across iOS and Android.

Key Takeaways

Critical Insight

The guide provides production-ready Flutter code for deferred deep linking that elegantly handles auth gates, prevents duplicate triggers, and works across both platforms with a unified API.

Continue reading

What This Article Covers

Problem

Before deferred linking works, developers need to set up platform-specific credentials. On iOS that means the Bundle ID, Team ID, and App Store ID; on Android it's the package name and SHA-256 certificates.

Solution

Bartek Krasoń and Mateusz Turbański walk through installing detour_flutter_plugin, which needs Flutter 3.3.0 or higher, Dart ^3.11.1, Android SDK 24, and iOS 13.0+. On web, macOS, Linux, and Windows it falls back to a no-op implementation.

Impact

Teams get cross-platform flexibility because the plugin builds and runs on all six targets without needing conditional imports. Short links also replace unwieldy multi-parameter URLs when sharing publicly.

The article reveals a Flutter-specific iOS trap that silently breaks deep linking if you override certain AppDelegate methods without forwarding to super.

This page summarizes “How to Integrate Deferred Deep Linking in Flutter” by Software Mansion, published Oct 19, 2026. All credit for the original work goes to the authors.

Read the original on swmansion.com (opens in new tab)

AI tools for Flutter

Browse all AI tools →