Deep Link Handler
Component Detail
Infrastructure
medium complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Configures and resolves deep links for invite URLs using Firebase Dynamic Links or platform Universal Links / App Links. Ensures that tapping an invite link on a device with the app installed opens the app directly; otherwise falls back to the App Store or Play Store. Extracts referral token and organization context from incoming links during onboarding.
deep-link-handler
Responsibilities
- Register Firebase Dynamic Link domain and URL scheme
- Handle incoming deep link on app cold-start and foreground resume
- Extract referral token and organization_id from link parameters
- Pass extracted context to onboarding flow for pre-fill
- Configure App Store / Play Store fallback URLs
Interfaces
initialize(): Future<void>
getInitialDeepLink(): Future<Uri?>
onLinkReceived(Uri): void
extractReferralContext(Uri): ReferralContext?