Skip to content

Critical alert IOS #202

@TonKro

Description

@TonKro

Report

Environment

  • Platforms:
  • Android version:
  • iOS version: Yes

Issues and Steps to Reproduce

Replaces this with steps to repro your issue, if applicable.

We were trying to send the critical notification with custom sound to my device when it is in do not disturb(Dnd) mode.
According to apple standard we have to send the payload in below format.
{
"aps":{

"sound":{

 "critical":1,
 "name":"critical-alert-sound-name.wav",
 "volume":1.0
   }
 }

}

How can we send a critical alert for IOS?

Expected Behavior

Critical alert for IOS

Actual Behavior

Azure does not accept. Azure web portal if we send the above payload we get the response as "Bad Request" .

Link to Code

If you have some code that maintainers can clone/test for themselves, bugs can be resolved much faster. Please paste a link here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions