Overview
Deep linking allows you to open a specific page within your app from an external source such as a website, email, or SMS. If the app is not installed, users are redirected to the appropriate app store. If on an unsupported platform, users are redirected to a fallback website. This guide covers setup and usage of deep linking across:- Android (App Links)
- iOS (Universal Links and URL Schemes)
- Push notifications
- Emails
- In-app messages
To function correctly, deep links must:
- Be hosted over HTTPS
- Include the required verification files:
Android setup
Use Android Studio’s App Links Assistant to simplify setup.Steps:
- Open Android Studio → Tools → App Links Assistant
- Follow steps to set up links to your site
- Android Studio auto-generates the required code and
assetlinks.json
file
Manifest example:
Activity handler example:
assetlinks.json
file must be hosted at:Send with deeplinks
Include the deep link as:
url
property (Launch URL)- Or
data
property (recommended for iOS to suppress browser redirect)
- Android: Opens to linked activity directly
- iOS: Opens browser, then app (unless suppressed with plist flag)