edamov/pushok

critical alert support

ExeErik opened this issue · 0 comments

I would like to create critical alerts (see https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification#2990112).
I need to include the "critical" and "volume" flag in the sound dictionary.
As I see it is only possible to set a sound name.

example request:
{ "aps":{ "alert":"Test Critical", "sound":{ "critical":1, "name":"Default", "volume":1.0 } } }

Is it possible to add this flags?