scribe-org/Scribe-iOS

feat: add offline network indicator on download screen

Open

#637 geöffnet am 31. März 2026

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)Swift (106 Forks)auto 404
help wanted

Repository-Metriken

Stars
 (167 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Terms

Description

Summary

Currently, tapping "Download data", "Update all", or "Check for new data" while offline fails silently with no user feedback.

Proposed Solution

  • Add a lightweight NetworkMonitor singleton using Apple's native NWPathMonitor
  • Hook it into DownloadStateManager to guard download actions when offline
  • Show a clear toast: "No internet connection. Please connect and try again."

Affected Areas

  • handleDownloadAction
  • checkAllForUpdates
  • handleUpdateAllLanguages

No existing logic will be changed — purely additive.

Contribution

No response

Contributor Guide