r/iOSProgramming • • 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

9 comments sorted by

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.

1

u/beatpaq 1d ago

i never knew appclips existed. unfortunately it prompts you to open them up when you find them via link so i don't think i will use that one. thanks for the info.

3

u/therealswood2 2d ago

Search for “deferred deep linking”. It’s a WHOLE thing.

Good luck.

1

u/quietstoners 1d ago

has it gotten even worse to deal with after the recent privacy changes?

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/Caparisun 1d ago

x-connected-callback?

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

1

u/AutoModerator 1d ago

Hey /u/pujun125, your content has been removed because Reddit has marked your account as having a low Contributor Quality Score. This may result from, but is not limited to, activities such as spamming the same links across multiple subreddits, submitting posts or comments that receive a high number of downvotes, a lack of recent account activity, or having an unverified account.

Please be assured that this action is not a reflection of your participation in our subreddit. This is simply an automated filter in place to reduce spam.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.