-
We want to default our Push Notifcations for Android to display as a "Pop-Up". The only way I can see that that is possible is by using a channel and setting the Channel to be an importance of High. Whilst that does mean we get a Pop-Up it also means by default we get a Sound and for some annoying reason that sound is on repeat until the notifcation is tapped. Imagine how annoying that is as a user! :-) As a user i can change that sound to be "Silent" but we don't want to ask users to have to do that. How do we code the app so that the notifcation is still a Pop-Up but with no Sound? Can I set the CustomSoundPath of the Shiny.Notifications.Channel to a non exisitent file to essentially silence it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
You won't be able to set it to a non-existing file as you'll get an error when it tries to use the sound within the notification. I've been thinking of ideas to make the sounds more customizable for channels. I'll see what I can come up with for a future release. |
Beta Was this translation helpful? Give feedback.
-
Why is the PopUp style event so linked to it making a sound and why oh why does the sound repeat? I realise these are most likely Android issues rather than any issue with Shiny but I don't know where else to ask. Are people that have successully implemeneted Push notifications with Android sworn to secrecy? :-) |
Beta Was this translation helpful? Give feedback.
You won't be able to set it to a non-existing file as you'll get an error when it tries to use the sound within the notification.
I've been thinking of ideas to make the sounds more customizable for channels. I'll see what I can come up with for a future release.