surp-hovhannes / bahk

App for Christians curious about how, when, and why to fast
MIT License
3 stars 1 forks source link

Feature/push notifications tasks and prefs #94

Closed mattash closed 6 days ago

mattash commented 6 days ago

This creates tasks that can be scheduled in celery for sending push notifications to users with native devices (will eventually include web app, but client requires additional development). Tested locally, with development build of iOS App.

This pull request includes significant updates to the notification system, particularly around push notifications for fasting events. It introduces new fields to manage user preferences for notifications and adds tasks for sending these notifications. Additionally, it includes changes to the DeviceToken model and its related serializers and utilities.

Notification System Enhancements:

Device Token Management:

These changes enhance the notification system by allowing more granular control over which notifications users receive and ensuring that notifications are sent to the appropriate devices based on user preferences.