guardianproject/haven
View on GitHubQueue alert messages if network is offline, and send once available again
Open
#14 opened on Mar 13, 2017
1 comment (1 comment)0 reactions (0 reactions)0 assignees (0 assignees)Java6,509 stars (6,509 stars)747 forks (747 forks)batch import
enhancementhelp wantedlow-priority
Description
This issue does not include a description.
Contributor guide
- Tech stack
- javaandroid
- Domain
- mobile
- Issue type
- feature
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 1-2 days
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- stale
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- mostly clear
- Prerequisites
- Android development basicsUnderstanding of network connectivityBackground services in Android
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 40
- Research direction
- This issue asks to queue alert messages when the device is offline and send them once connectivity is restored. To start, investigate the current networking code in the Haven Android app, particularly how alerts are sent. Look for any existing network monitoring using ConnectivityManager. Review the NetworkingService or similar classes. The implementation would involve using ConnectivityManager.NetworkCallback to detect connectivity changes, storing pending alerts in a local database like Room or SharedPreferences, and sending them when the network is available. Check if there are any comments or linked PRs on the issue for additional context.