-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
We should refactor the bookmarks notifications to use AlarmManager.
The current implementation uses Work Manager. It is not ideal for triggering precise notifications, and users may miss the bookmarked talk during an event.
- SessionNotificationWorker: https://github.com/joreilly/Confetti/blob/main/shared/src/androidMain/kotlin/dev/johnoreilly/confetti/work/SessionNotificationWorker.kt
- SessionNotificationSender: https://github.com/joreilly/Confetti/blob/main/shared/src/androidMain/kotlin/dev/johnoreilly/confetti/work/SessionNotificationSender.kt
Additionally, we will need:
- Handle Notification Permissions: https://developer.android.com/develop/ui/views/notifications/notification-permission#:~:text=If%20a%20user%20installs%20your,that%20permission%20to%20your%20app
- Handle AlarmManager permission: https://developer.android.com/training/scheduling/alarms
Those two points need to be addressed before removing the experimental feature flag.
joreilly
Metadata
Metadata
Assignees
Labels
No labels