Sound Options for Push Notifications

ctsmith
Mega Sage

In Push Notification Message Content, part of code is this:

(function buildJSON(/*GlideRecord*/ current, /*String*/ message, /*Object*/ attributes) {

var json = {};

json = {
"aps" : {
"sound" : "default",
"category" : "accept_decline_foreground"
},

I've never seen anything other than "sound" : "default" in postings or existing content records on our instance.

I had a ticket with HI, and they intoned that was a reference to the instance sound table.  There is no default sound in there.  And that wouldn't necessarily make sense as this is for a push notification that triggers sounds local to the user's device, right? 

If that is the case, though, can I simply add whatever sound I want to the sound table and replace "default" with the name of that new sound and that sound will push to the iOS and Android devices?  Doesn't seem plausible, but... 

What are the options here with sound for push notifications?

The scenario is that we want to have a better notification sound for push notifications other than the iOS standard sound.  Is that an option?  We will be using the app for paging purposes, and that generic sound isn't going to cut it.  Our current paging app has built in sounds that are more annoying (which is good so the user knows they're getting a page).  Can the native SN app use customized sounds for notifications in any capacity?

Thanks!

8 REPLIES 8

timhorn
Kilo Expert

Hey Christopher,

Were you ever able to find a resolution to this?  We're looking at the same issue right now, and I see 5 potential sounds in the documentation: "NotificationAlert-1" through "NotificationAlert-5".  We tried all of these, and they are all the same on an iPad.  You mentioned that SN told you these were in the instance "sound" table.  I can't find a table with "sound" in the name.  Do you know what the table is called?  

 

Tim

J_Moral
Tera Contributor

Hi guys,

I'm also looking for a way to customize Notification Sounds for the Agent App. I've tried with table db_audio, but that hasn't worked.

Did you figured out how to do this?

Thanks!

J.Moral

bala37
Kilo Contributor

Hello guys have you got resolved by this issue, bacause I'm also in the same scenario. so please help me if you have information regarding this. please reply.

 

thank you.

ctsmith
Mega Sage

@timhorn and @bala Just seeing these postings now!!  Tim's, I missed yours a year ago!  I've long since left the company I worked at that needed this.  But, this tells me it's not been solved.  I think it's an Apple, Samsung, etc permission where app developers work with them to allow distinct sounds.  Do they allow an application to override native notification sounds?  Probably not without special permissions.  I think no matter what you try, the native mobile OS will send it the sound to a generic app default. šŸ˜•