Skip to main content
The mobile package provides automatic generation of deep link verification files and handlers for Universal Links (iOS) and App Links (Android), enabling seamless app-to-web navigation.

Quick Start

This automatically serves:
  • /.well-known/apple-app-site-association for iOS
  • /.well-known/assetlinks.json for Android
  1. User taps a link to your domain
  2. iOS checks /.well-known/apple-app-site-association
  3. If app is installed and paths match, app opens directly
  4. Otherwise, Safari opens the URL
  1. User taps a link to your domain
  2. Android checks /.well-known/assetlinks.json
  3. If app is installed and verified, app opens
  4. Otherwise, browser opens the URL

Configuration

Apple App Configuration

Find your Team ID in the Apple Developer Portal.

Android App Configuration

Get your signing certificate fingerprint:

Full Configuration

Generated Files

apple-app-site-association

For simple single-app setups:
Handle deep links with smart fallback to web:

How It Works

  1. Parses device from mobile middleware context
  2. For mobile devices: renders HTML that attempts app deep link
  3. Falls back to web URL after 2.5 seconds
  4. For desktop/web: redirects directly to fallback

Generated HTML

For mobile devices, serves:

Path Patterns

Wildcard Matching

Excluding Paths (iOS)

Handle deep links when app is installed after click:

iOS Simulator

Android Emulator

Verify Configuration

Client Implementation

iOS (Swift)

Android (Kotlin)

Flutter (Dart)

Best Practices

HTTPS Required

Both Universal Links and App Links require HTTPS. The verification files must be served over HTTPS.

CDN Considerations

If using a CDN, ensure the verification files are not cached aggressively:

Handle All Cases

Always provide fallbacks for:
  • App not installed
  • Outdated app version
  • Invalid deep link paths
Track where users come from:

Next Steps

App Store

Version checking and force updates

Push Notifications

Cross-platform push support

API Reference

Complete API documentation