iOS push notification no sound

Hi,

I am using @capacitor/push-notifications plugin to receive push but on iOS there is no sound and no badge count.

For sending Push I am using a new HTPP from google firebase https://fcm.googleapis.com/v1/projects/{$project}/messages:send

On Android everything works well.

In capacitor config I have this settings: "plugins": { "PushNotifications": { "presentationOptions": ["badge", "sound", "alert"] } }

Any suggestions why there is no sound and badge on iOS?

Thanks a lot

Do you have some badge plugin installed?
That plugin overrides the default push presentation style and makes it only show badges. I’ve seen several people with this problem.

If you don’t have one, then the problem might be your push notification payload, it should look like this:

{
    "aps" : {
        "alert" : "You got your emails.",
        "badge" : 9,
        "sound" : "bingbong.aiff"
    }
}

Thank you. This is it. So the whole problem was that I had wrong payload for push.

Thanks