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

Description

Riverpod provider that handles submission of support requests to the REST API endpoint. Detects connectivity state and delegates to the offline queue repository when the device is offline, ensuring no submissions are lost.

Feature: Contact Us

support-request-service

Responsibilities

  • POST support request payload to REST API /api/v1/support-requests
  • Detect network availability and route to offline queue when offline
  • Return submission result or queued confirmation to the UI
  • Retry queued submissions when connectivity is restored

Interfaces

submitRequest(SupportRequest request): Future<SubmissionResult>
retryQueuedRequests(): Future<void>

Relationships

Dependencies (1)

Components this component depends on

Dependents (1)

Components that depend on this component