- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 11:02 PM
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.
Here you can see the code
var soundVal = "default";
if(current.priority == "1" || current.priority == "2")
soundVal = "NotificationAlert-3.caf";
json = {
"aps" : {
"sound" : soundVal
}
};
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2022 11:12 AM
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,
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
PaulSylo
Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2022 11:12 AM
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,
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
PaulSylo
Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !