Post

Replies

Boosts

Views

Activity

Modify UNNotificationRequest identifier in UNNotificationServiceExtension
hi! Was hoping to be able to modify a notification's associated ID inside of UNNotificationServiceExtension, but it seems like it's not possible since the contentHandler only accepts type UNNotificationContent (not UNNotificationRequest). (docs here - https://developer.apple.com/documentation/usernotifications/unnotificationserviceextension/1648229-didreceivenotificationrequest?language=objc) Thought it was worth a shot posting to see if anyone had found some workarounds to this, thanks!
0
0
610
Feb ’21
getNotificationCategoriesWithCompletionHandler parameter value
Hi! I could be missing something here, but in the docs for getNotificationCategoriesWithCompletionHandler , it states: categories The set of UNNotificationCategory objects containing your registered notification types. If your app has not yet registered any categories, this parameter is an empty set. But if I haven't set any categories yet, the categories parameter is NULL, not an empty set. Not sure if this is possible docs bug or implementation bug
0
0
331
Jul ’20