”Time sensitive” notifications, to me, mean ones that shouldn’t be delayed and put in a scheduled summary, and that should appear at the top of the list of Notifications, and nothing more. I want them to go through the AI prioritizer so that Intelligent Breakthrough can work and inform me of the “Maybe Important” notification I just received.
This is further reinforced by the fact that the User Notification framework documentation clearly states:
The system makes every attempt to deliver local and remote notifications in a timely manner, but delivery isn’t guaranteed. The PushKit framework offers a more timely delivery mechanism for specific types of notifications, such as those VoIP and watchOS complications use. For more information, see PushKit.
Since delivery isn’t guaranteed, I personally consider the delays being discussed in this thread to be insignificant. For applications like security applications where rapid timing is important, it seems that maybe PushKit should be used instead?
On a side note,, I don’t see in the documentation where setting UNTimeIntervalNotificationTrigger? = nil would be valid, e.g., according to https://developer.apple.com/documentation/usernotifications/untimeintervalnotificationtrigger
non-zero values for it are required. Shouldn’t this be using UNNotificationTrigger instead? e.g., from the example:
convenience init(
identifier: String,
content: UNNotificationContent,
trigger: UNNotificationTrigger?
)
Probably doesn’t matter, since nil is nil, I guess.