aw-notify support: activity-based notifications on Android
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- backend-api-design, mobile
Research direction
This is a design issue requiring discovery before implementation. Start by reading the aw-notify desktop project to understand rule semantics. Examine the aw-android codebase for the aw-server-rust API integration and existing notification handling from PR #195. The goal is to produce a design document answering the listed discovery questions, not to write code yet.
Written by the indexing model from the issue text.
Description
Problem
Add aw-notify support to aw-android so users can opt into activity-based notifications such as per-app time alerts or category-budget nudges. The Android product behavior is not specified yet; this issue should define that behavior before implementation rather than assume a direct port of the desktop daemon.
PR #195 provides the Android 13+ POST_NOTIFICATIONS permission needed for any user-visible notification.
Discovery scope
Before choosing an implementation, answer:
- Which first notification use case delivers enough value to ship?
- Is the rule engine shared with
aw-notify, ported, or Android-specific? - Where are rules configured, and how can users disable or snooze them?
- What cadence and execution mechanism preserve battery life and Android background limits?
- Should evaluation query the local aw-server-rust API, consume watcher events directly, or use another boundary?
- How do quiet hours, duplicate suppression, timezone changes, and Do Not Disturb behave?
Candidate MVP (not yet committed)
A WorkManager periodic task could evaluate one locally configured threshold against the on-device aw-server-rust data, post via NotificationCompat, and persist enough state to avoid duplicate alerts. Android periodic work has a 15-minute minimum interval, so this is appropriate for coarse summaries or budgets, not exact real-time limits.
Acceptance criteria
- A concrete MVP use case and rule semantics are documented
- Notification opt-in/configuration UX is specified
- Scheduling, battery, and Android background-execution trade-offs are documented
- Duplicate suppression, quiet hours, timezone changes, and unavailable local server are covered
- The implementation boundary relative to desktop
aw-notifyis decided - A scoped implementation issue or PR is created from the design
Out of scope
- Implementing all desktop
aw-notifyfeatures in the first Android slice - Server-driven or cross-device notifications before sync is ready
- Treating the always-on foreground-service status notification as an
aw-notifyfeature
Related
- #195 —
POST_NOTIFICATIONSmanifest permission and runtime request - #189 — v0.14.0 tracking issue
- Desktop project: https://github.com/ActivityWatch/aw-notify
- Dominant language
- Kotlin
- Stars
- 270
- Forks
- 57
- Avg merge
- 23h 47m
- Merged PRs (30d)
- 39
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ActivityWatch/aw-android
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ActivityWatch/aw-android#306 ·
Maintainers usually reply within 1 day
-
AuthSettingsActivity crashes on launch (InflateException: Material attributes under AppCompat theme)Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ActivityWatch/aw-android#210 · 7 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ActivityWatch/aw-android#302 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
ActivityWatch/aw-android#300 · 6 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
ActivityWatch/aw-android#296 ·
Maintainers usually reply within 1 day
All issues in ActivityWatch/aw-android
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug webview
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
home-assistant/android#7524 ·
Maintainers usually reply within 1 day
-
Issue: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OpenAPITools/openapi-generator#25021 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
software-mansion/enriched-markdown#897 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
detekt/detekt#9761 · 1 comment · 2 reactions ·
Maintainers usually reply within 1 day