Service Layer low complexity mobile
0
Dependencies
1
Dependents
1
Entities
0
Integrations

Description

Handles the opening of external URLs using either the system browser or an in-app WebView depending on per-resource configuration. Validates URLs before attempting to open and logs link-open events for analytics.

Feature: External Resource Links

external-link-service

Responsibilities

  • Open validated URLs via url_launcher (system browser) or webview_flutter (in-app WebView)
  • Determine launch mode based on resource configuration flag
  • Validate URL format and reachability before opening
  • Handle launch failures gracefully with user-facing error feedback

Interfaces

openLink(resource)
canOpenUrl(url)
launchInAppBrowser(url)
launchExternalBrowser(url)
getLaunchMode(resource)

Relationships

Dependents (1)

Components that depend on this component

Related Data Entities (1)

Data entities managed by this component