django-push-notifications icon indicating copy to clipboard operation
django-push-notifications copied to clipboard

Support for iOS interruption-level API

Open itayAmza opened this issue 1 year ago • 1 comments

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

itayAmza avatar Mar 01 '24 13:03 itayAmza

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.

50-Course avatar Mar 11 '24 09:03 50-Course