After updating to iOS 17, I receive multiple notifications multiple times on my iPhone

When sending notification messages, the Apns package is used to send them.

I set only the title and body without any additional settings and sent a notification message, but an error occurred in some iPhone devices where multiple messages with the same content were received.

Has anyone experienced something like this? How can this be confirmed and processed to resolve this?

This situation occurred in iPhone 12, 12maxpro, 14, and 14pro.

Post not yet marked as solved Up vote post of CoAppDevelop Down vote post of CoAppDevelop
1.5k views

Replies

In your payload, please check your "aps" dictionary and make sure you don't have any custom keys in there. The aps dictionary should only contain the keys listed here: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification#2943360

If you have any keys other than the listed inside the aps dictionary, you can add your custom keys as peers of the aps dictionary, instead of inside it