jazzband / django-push-notifications

Send push notifications to mobile devices through GCM or APNS in Django.
MIT License
2.28k stars 618 forks source link

Support for iOS interruption-level API #708

Open itayAmza opened 9 months ago

itayAmza commented 9 months ago

Hi, Is there a way to set interruption-level value like time-sensitive for APNSDevice? Send communication and Time Sensitive notifications for more context if needed

example payload:

{
    "aps" : {
        "alert" : {
            "title" : "Urgent",
            "body" : "Your account requires attention."
        }
        "interruption-level" : "time-sensitive"
    }
}
### Tasks
- [ ] https://github.com/jazzband/django-push-notifications/issues/708
50-Course commented 8 months ago

hello @itayAmza, at the moment, support for interruption-level on iOS devices is not currently supported internally. I have also just reviewed the underlying library that we use for the iOS SDK, PyAPNs2 and it does not support this feature either.

This would make for a new feature request, so I will go ahead and edit the tags appropriately.