Experiencing Duplicate Notifications Issue Recently

For a period of time, we have frequently received reports of users receiving duplicate message notifications.

We can ensure that the message is only sent once and there is only one ApnsId, but when it reaches the device, there are multiple duplicate notifications (2-3)

I suspect this may be related to iOS 17, as there seems to be some overlap in time. Have others encountered similar problems? We sincerely hope to receive help from society. Thank you for your help~

This is a known issue in iOS 17, that has since been fixed. There are two main causes for this, one is a known issue in iOS that has been fixed in 17.3 The other is due to a malformed payload, where custom keys are inserted in the "aps" dictionary. Please refer to https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification#2943360 and make sure any keys outside of the ones defined there are not inside the "aps" dictionary, but added as peers.

If your payload is correct, and you are seeing the duplicate notifications issue on 17.3 or later, please file a bug report using the Feedback Assistant (https://developer.apple.com/bug-reporting/)

Experiencing Duplicate Notifications Issue Recently
 
 
Q