Deep Link Handler Service
Component Detail
Service Layer
high complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Handles Flutter deep link routing for both cold-start and warm-start app launch scenarios so the referrer token embedded in invite URLs survives app installation on iOS and Android. Persists the token through the onboarding flow and passes it to the registration completion handler for automatic attribution.
deep-link-handler-service
Responsibilities
- Intercept incoming deep links on cold-start and warm-start via Flutter router
- Extract and persist referrer token from URL query parameters
- Route the user to the standard onboarding flow with referrer context intact
- Clear persisted token after successful registration completion
Interfaces
initialize(): Future<void>
handleIncomingLink(uri: Uri): void
getReferrerToken(): String?
clearReferrerToken(): void