1
0
mirror of https://github.com/avinal/nikki.git synced 2026-07-03 21:40:09 +05:30
Files
nikki/composeApp
avinal 86765cee27 Add CalendarContract integration for reliable reminders
CalendarReminderManager:
- Creates hidden "Nikki Tasks" calendar via CalendarContract
- Syncs tasks with due dates as calendar events with reminders
- Uses SYNC_DATA1 for task ID deduplication (sync adapter URI)
- Cleans up events for completed/deleted tasks
- Handles SecurityException gracefully if permission denied

Wired into both triggerReminderCheck() and TaskCheckWorker.
AlarmManager kept for p1 tasks that bypass DND.

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context)
2026-06-05 15:09:48 +05:30
..