[Feature] Network allowlist for sync intervals & reachability check on network change
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- mobile-dev, networking
Direzione di ricerca
Read the referenced discussion #16993 first for the prior reasoning, then locate the code that schedules periodic background sync and auto-upload, and the component that observes connectivity changes. Both proposed behaviours hang off those two places: an allowlist of Wi-Fi SSIDs, unmetered connections or VPN interfaces checked before a scheduled sync, and a reachability probe plus queued sync when the active network changes. Done means a sync is skipped on non-allowlisted networks and a reachability check runs on network switch, with tests covering both paths.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
For self-hosted Nextcloud instances that are not exposed publicly—or that switch between local/LAN, VPN (such as WireGuard), and cellular/external networks—periodic background syncs can run when the server is unreachable, while network transitions may not immediately trigger a reachability check or sync.
Proposed Behavior
- Whitelisted / allowed networks for scheduled syncs:
- Allow users to restrict periodic sync / auto-upload workers to specific Wi-Fi SSIDs, unmetered connections, or active VPN interfaces.
- Skip scheduled sync attempts when on non-whitelisted networks instead of attempting unreachable connections.
- Network-switch reachability & sync trigger:
- When the active network changes (e.g., joining home Wi-Fi or connecting a VPN), refresh network/DNS state and run a lightweight reachability check against the configured server.
- Trigger or queue sync when the server becomes reachable on the new network.
Use Case / Motivation
Self-hosters running private/LAN or VPN-only Nextcloud instances often experience wasted background retries when away from trusted networks, or delays waiting for the next interval after connecting to home Wi-Fi or a VPN. Related discussions have come up in threads such as #16993.
Additional Context
- Android version: 16
- Nextcloud Android app version: 35.1.0
- Self-hosted setup (LAN / VPN / reverse proxy): self hosted and accessible on my LAN
- Lingua principale
- Kotlin
- Stelle
- 5.7k
- Fork
- 2.1k
- Merge medio
- 2g 7h
- PR unite (30g)
- 149
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nextcloud/android
-
0. Needs triage enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
0. Needs triage enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
nextcloud/android#18094 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
nextcloud/android#17845 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Lock owned by another client (e.g. Text app) cannot be unlocked from the appForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nextcloud/android#17837 · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
0. Needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
nextcloud/android#17533 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di nextcloud/android
Issue simili
-
accessibility agent-ready area:android bug fleet
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
level-98/mailcrane#412 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 2 giorni
-
help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
DojoCodingLabs/hermit#23 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
signalapp/Signal-Android#15148 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno