Relevance Score is ignored when displaying in Notification Summary

Based off the Apple documentation, I expected to see that the notification with the highest relevance score was featured in the Notification Summary. However, when sending several notifications from a single app with the new relevance score field, I am consistently seeing the most recent notification be featured in the Summary — not the one with the highest score. I am using Xcode 13 beta 5 and a device running iOS 15 beta 6.

This is the sample payload sent via APNs (with the relevance score being updated between sends):

{
    "aps": {
      "alert": {
        "title": "Relevance score: 0.4",
        "body": "body text here."
      },
      "interruption-level" : "active",
      "relevance-score" : 0.4
    }
}

I have also confirmed that the UNNotificationContent object has the relevance score field populated with the expected double when receiving the push on the device.

Any update on this? With Apple's announcement scheduled for tomorrow, has anyone been able to successfully display push notifications in the Notification Summary such that the highest Relevance Score is the one featured? It doesn't seem to work as expected on Xcode 13 beta 5 and iOS 15 beta 8.

We've been seeing this problem as well.

I am seeing the same thing. The notifications are in the order that the device received them regardless of the relevance score and content of the message. The relevance score is correct when I debug/log it in the notification service extension so it really seems like an iOS bug. I tested this with the Xcode 13.0 rc and iOS 15 release build.

Relevance Score is ignored when displaying in Notification Summary
 
 
Q