You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The sound property beside form string can also be object for critical notifications
Code snippet
JSON preview of the sound field in the payload for a critical sound
"sound": {
"critical" : 1,
"name": "default", // or name of a sound file in the app's main bundle
"volume": 1 // value between 0 (silent) and 1 (full volume)
}
Expected behavior
AddSound method should also be able to receive a object
Actual behavior
AddSound only receives a string and there is no way to set a sound of the notification as critical.
Additional context
A critical sound plays even if Do Not Disturb is turned on or the device is muted.
The text was updated successfully, but these errors were encountered:
Describe the bug
The sound property beside form string can also be object for critical notifications
Code snippet
JSON preview of the sound field in the payload for a critical sound
"sound": {
"critical" : 1,
"name": "default", // or name of a sound file in the app's main bundle
"volume": 1 // value between 0 (silent) and 1 (full volume)
}
Expected behavior
AddSound method should also be able to receive a object
Actual behavior
AddSound only receives a string and there is no way to set a sound of the notification as critical.
Additional context
A critical sound plays even if Do Not Disturb is turned on or the device is muted.
The text was updated successfully, but these errors were encountered: