It is possible to set a sound to the push notifications on Android?
Now I’m receiving the notifications but with no sound or vibration.
Thanks!
It is possible to set a sound to the push notifications on Android?
Now I’m receiving the notifications but with no sound or vibration.
Thanks!
You are right, this isnt officially supported yet. We have a feature request for this though and will be on it as soon as possible. Thanks for the request!
I would like to see this feature too!
I found something that could be handy for others:
FuseGcmL.java:
if (sound=="default")
{
Uri defaultSoundUri= RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
notificationBuilder.setSound(defaultSoundUri);
}
this could be extended by something similar:
else {
notificationBuilder.setSound(Uri.parse("android.resource://" + getPackageName() + "/raw/" + sound));
}
mind the n.defaults