You can set the custom notification sound following these steps:
- Locate your sound in the
raw
resource directory. For example:/app/res/raw/mysound.mp3
. - Add the custom header with the name of your sound (without file extension):
publishOptions.putHeader("android-content-sound", "mysound");
- Send the notification with defined publish options:
Backendless.Messaging.publish("Message", publishOptions, deliveryOptions)
Small icon for the notification can be set only from Push Template. Here is the example how to do it:
Also we will release the new version soon that will allow to send the push notifications to individual devices.
Best Regards,
Maksym