Time Sensitive Notifications Aren't Working

I am trying to add time sensitive notifications to my task/reminder app, but I am having some difficulty.

Here is the code I am using currently:

let center = UNUserNotificationCenter.current()

let content = UNMutableNotificationContent()
content.title = "Productivi" // that's the name of the app
content.body = "\(taskObject.content)" //task content
content.categoryIdentifier = "TASK_REMINDER"
if #available(iOS 15,*) {
   print("Using ios 15 for set notification")
   content.interruptionLevel = .timeSensitive
}

For the adding notification request, that part works, however when the notification shows up, it isn't a time sensitive one. (I was testing in simulator and on my phone both running iOS 15.4)

I can't figure out what else there is I have to do in order to enable the feature. I've done everything it says to do, is their an entitlement or capability I have to add. If so, what is it called and can some one please give me detailed steps on how to add that for local notifications in XCODE?

Thank you, -Rohan

same ask here, there is too little document that we can refer to on time-sensitive notification

Time Sensitive Notifications Aren't Working
 
 
Q