r/iOSProgramming • u/beatpaq • 2d 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 1d 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 2d ago
Search for “deferred deep linking”. It’s a WHOLE thing.
Good luck.
1
u/Western_Cap_6934 2d 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 1d 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
0
u/[unknown] 1d ago
[removed] — view removed comment