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

AddSound for critical notifications #126

Open
KrastianM2M opened this issue Mar 20, 2024 · 1 comment
Open

AddSound for critical notifications #126

KrastianM2M opened this issue Mar 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@KrastianM2M
Copy link

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.

@alexalok
Copy link
Owner

Hi @KrastianM2M!
Thank you for your suggestion. This feature is on my roadmap. Stay tuned for updates!

@alexalok alexalok added the enhancement New feature or request label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants