Sounds for push notification

bala37
Kilo Contributor

Hi all,

          We had an issue with notification sound in mobile. i.e In the push message content we had given specific value for sound still we are not getting the given sound.

@Paulsylo  Any one have any idea on this please do reply.

 

Here you can see the code

var soundVal = "default";
if(current.priority == "1" || current.priority == "2")
soundVal = "NotificationAlert-3.caf";

json = {
"aps" : {
"sound" : soundVal

}

};

1 ACCEPTED SOLUTION

PaulSylo
Tera Sage
Tera Sage

Hi - I hope you have seen this for push notification, check this can help you.

https://docs.servicenow.com/bundle/orlando-mobile/page/administer/tablet-mobile-ui/task/sg-mobile-set-up-push-notifications.html#

Try as below,

find_real_file.png

 

find_real_file.png

YOu can try this way by appending your code and check if the audio is working!

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/use/collaboration/task/t_CustomizeConnectAudioNotifSound.html

 

 

Regards,
PaulSylo

Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !

View solution in original post

1 REPLY 1

PaulSylo
Tera Sage
Tera Sage

Hi - I hope you have seen this for push notification, check this can help you.

https://docs.servicenow.com/bundle/orlando-mobile/page/administer/tablet-mobile-ui/task/sg-mobile-set-up-push-notifications.html#

Try as below,

find_real_file.png

 

find_real_file.png

YOu can try this way by appending your code and check if the audio is working!

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/use/collaboration/task/t_CustomizeConnectAudioNotifSound.html

 

 

Regards,
PaulSylo

Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !