Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Critical alert IOS #202

Open
TonKro opened this issue Sep 21, 2021 · 0 comments
Open

Critical alert IOS #202

TonKro opened this issue Sep 21, 2021 · 0 comments

Comments

@TonKro
Copy link

TonKro commented Sep 21, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant