Links Content Service
Component Detail
Service Layer
low complexity
mobile
1
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Service layer that fetches external link content from the REST API scoped to the user's organization, manages caching for offline access, and coordinates URL launching via flutter_url_launcher or flutter_inappwebview depending on link configuration. Handles fallback for unsupported URL schemes.
links-content-service
Responsibilities
- Fetch organization-scoped link content from REST API
- Cache link data locally for offline availability
- Launch URLs in in-app browser or system browser based on link flags
- Handle unsupported URL scheme fallbacks gracefully
Interfaces
fetchLinks(organizationId)
refreshLinks()
openLink(link)
openInAppBrowser(url)
openSystemBrowser(url)
getCachedLinks()
isLinkSupported(url)
Relationships
Related Data Entities (1)
Data entities managed by this component