I\'ve used FCM Notifications in My app , I\'m Receiving Them and it\'s showing Title And message Perfectly
But,When i\'m receiving the Notification Im not getting an
firebase
make sure that sound option enabledlike this
notification payload of the notification there is a sound key.
From the official documentation its use is:
Indicates a sound to play when the device receives a notification. Supports default or the filename of a sound resource bundled in the app. Sound files must reside in /res/raw/.
{
"to" : ".......",
"notification" : {
"body" : "body",
"title" : "title",
"icon" : "myicon",
"sound" : "default"
}
}