Is anyone else seeing `willPresent` trigger twice in iOS 18?

Not sure if this is new (undocumented) behavior or a bug in iOS 18, but I'm seeing the UserNotifications willPresent method being triggered twice in a row for a single push notification.

I've filed a feedback assistant ticket on this, but I'm curious if anyone else has encountered this with the new betas?

Answered by Engineer in 799771022

Thank you all for the feedback reports and bringing the issue to our attention. The reports are currently under investigation.

If this issue is critical for your apps in the meantime while a solution is pending, you can use UNNotificationRequest.identifier or UNNotificationContent.threadIdentifier for local notifications or the thread-id key in the push notification payload (or any other notification related data) to try to recognize the two back to back callbacks may have been for the one single notification.

Unfortunately while the issue is under investigation we are not able to say when a resolution might be available.


Argun Tekant /  DTS Engineer / Core Technologies

I've also encountered this issue, and I filled a feedback about it yesterday.

Accepted Answer

Thank you all for the feedback reports and bringing the issue to our attention. The reports are currently under investigation.

If this issue is critical for your apps in the meantime while a solution is pending, you can use UNNotificationRequest.identifier or UNNotificationContent.threadIdentifier for local notifications or the thread-id key in the push notification payload (or any other notification related data) to try to recognize the two back to back callbacks may have been for the one single notification.

Unfortunately while the issue is under investigation we are not able to say when a resolution might be available.


Argun Tekant /  DTS Engineer / Core Technologies

Is it fixed?

When can we expect fix for this. Instead of workaround.

Yes I faced "willPresent" trigger twice in iOS 18.

Yes, Same issue is happening in the production apps to us on iOS 18,

Any expected date, when this will be fixed

I have the same problem!

When will this problem be resolved?

Is anyone else seeing `willPresent` trigger twice in iOS 18?
 
 
Q