Menu

Deep Linking from a Web Catalogue to Native App Screens
πŸ“°

Deep Linking from a Web Catalogue to Native App Screens

DEV Community: mobileΒ·desgh whiteΒ·about 3 hours ago
#yNsC6H1v
#devtomobile#devto#dev#installed#user
Reading 0:00
15s threshold

When a web page links to an app screen and the app is not installed, the user sees a blank page or an error. Universal Links (iOS) and App Links (Android) solve the installed case but leave the uninstalled case broken unless you plan for it.

The fallback chain

Try the universal/app link.

If the app is not installed, the OS falls through to the web URL.

The web URL should be a full-featured page, not a "download our app" interstitial.

<a href = "https://example.com/games/slots" > View Slots </a>

Enter fullscreen mode

Exit fullscreen mode

The .well-known/assetlinks.json (Android) and apple-app-site-association (iOS) files declare that the app handles this URL pattern. If the app is present, the OS intercepts the navigation. If not, the browser loads the web page normally.

Deferred deep linking

For marketing campaigns, you want the link to work even if the user installs the app after clicking. Store the intended destination in a first-party cookie before redirecting to the app store:

document .…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.