scribe-org/Scribe-iOS

feat: add offline network indicator on download screen

Open

#637 opened on 2026年3月31日

GitHub で見る
 (1 comment) (0 reactions) (1 assignee)Swift (106 forks)auto 404
help wanted

Repository metrics

Stars
 (167 stars)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド