Android: notify at a task's due time #151
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
CrowderSoup/vTodo!151
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "crowdersoup/due-time-notifications"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes vTodo task #475. Phone notifications at a task's due time replace Gerald's reminders.
How it works
Code
today/Reminders.ktholds the planning logic (pure, with unit tests inRemindersTest).notify/handles alarms, notifications and the receivers.refreshOnPhone()replaces therefreshTodayWidget()calls. It refreshes the widget and then the reminders.Known limits
USE_EXACT_ALARM, which is fine for a sideloaded APK but needs a policy review if vTodo ever goes on Google Play.Tests
CI (run 207) passed the unit tests, the debug build, and the release lint and build. I haven't tested it on a phone yet.