[Feature] Network allowlist for sync intervals & reachability check on network change
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 25/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Domínio
- mobile-dev, networking
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Kotlin
- Estrelas
- 5.7k
- Forks
- 2.1k
- Merge médio
- 2d 7h
- PRs com merge (30d)
- 149
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de nextcloud/android
-
0. Needs triage enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
0. Needs triage enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
nextcloud/android#18094 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 86/100
nextcloud/android#17845 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
[Bug] Lock owned by another client (e.g. Text app) cannot be unlocked from the appTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
nextcloud/android#17837 · 2 reações ·
Mantenedores costumam responder em até 1 dia
-
0. Needs triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
nextcloud/android#17533 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de nextcloud/android
Issues semelhantes
-
accessibility agent-ready area:android bug fleet
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
level-98/mailcrane#412 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 2 dias
-
help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
DojoCodingLabs/hermit#23 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
signalapp/Signal-Android#15148 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia