FCM custom sound notifications are not working on IOS

I'm developing a Flutter application for both Android and IOS. I'm sending to my users custom sound notifications using Firebase Cloud Messaging (FCM).

On Android everything is just fine, I'm receiving notifications with custom sounds. However, on IOS I'm receiving the notifications, but with default sound.

My Node.js notification payload:

const payload = {
        notification: {
            title: 'title message',
            body: `body message`,
        android: {
            priority: "high",
            notification: {
                channel_id: 'ATTENTION',
                tag: groupId,
        apns: {
            payload: {
                aps: {
                    sound: "sound_03.caf"
            headers: {
                "apns-priority": "10"
        priority: 10

I'm sending the notifications using the sendMulticast method.

I have configured my Xcode as the following:

enter image description here

What am I doing wrong?

1 answer

  • answered 2021-09-22 10:37 Christian

    Your individual sound files do not go into the .xcassets folder. Put them plain in your folder, add them to your project and make sure they appear under "Copy Bundle Resources".

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum