Search code examples
flutterfirebase-cloud-messagingapple-push-notifications

FCM custom sound notifications are not working on IOS Xcode


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.

I have configured my Xcode as the following:

enter image description here

What am I doing wrong?


Solution

  • Your sound files should be plain directly to the Copy Bundle Resources (and not in the assets folder).

    enter image description here