Closed ExeErik closed 4 years ago
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 } } }
{ "aps":{ "alert":"Test Critical", "sound":{ "critical":1, "name":"Default", "volume":1.0 } } }
Is it possible to add this flags?
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?