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

Description

Wraps the connectivity_plus package to expose a reactive stream of network state changes. Subscribes to the stream and triggers an immediate SyncQueueService drain attempt when the device transitions from offline to online, avoiding polling delays.

Feature: Background Sync

connectivity-monitor-service

Responsibilities

  • Subscribe to connectivity_plus stream and emit normalized ConnectivityStatus events
  • Trigger immediate outbox drain on offline-to-online transition
  • Expose current connectivity status synchronously for conditional UI rendering

Interfaces

connectivityStream() -> Stream<ConnectivityStatus>
isOnline() -> bool
dispose() -> void

Relationships

Dependents (1)

Components that depend on this component