r/iOSProgramming • u/beatpaq • 7d ago
Question Link > Web page prompting app install > Install > Open app and the app automatically goes to the page specified in the link. Is it possible to use a deep link like this?
4
Upvotes
1
u/ThalesMother9938 7d ago
The piece that trips people up is that iOS has no install referrer like Android does , so nothing survives the App Store install for you to read on first launch. That leaves roughly three options: a third-party SDK like Branch or AppsFlyer that matches the click to the install by fingerprint, writing a token to the clipboard on your web page and reading it on first launch (iOS will show the paste permission prompt), or an App Clip. I haven't shipped any of these myself, so I can't tell you which one holds up best. Which one fits depends on how much you care about that paste prompt versus adding an SDK.
3
u/therealswood2 7d ago
Search for “deferred deep linking”. It’s a WHOLE thing.
Good luck.
1
u/Western_Cap_6934 7d ago
A normal Universal Link handles the installed-app case, but does not by itself carry that click through an App Store install. Keep a fallback that asks the user to reopen the original link after installing.
1
u/Needle_In_Red 7d ago
yeah thats deferred deep linking. no install referrer on ios so its either branch/appsflyer or copy the link to clipboard on the web page and read it on first launch, tho the paste prompt makes that a bit janky
1
u/Stock-Cellist-6930 4d ago
It's possible, but that's a more complicated subject than it might seem - we are maintaining a tooling for that and there are a lot of edge cases. In case you want to dig slightly deeper: https://detour.swmansion.com/docs/platform/architecture/architecture-limitations/
1
u/[deleted] 5d ago
[removed] — view removed comment
0
u/[unknown] 7d ago
[removed] — view removed comment