Send communication and Time Sensitive notifications

RSS for tag

Discuss the WWDC21 session Send communication and Time Sensitive notifications.

Posts under wwdc21-10091 tag

21 Posts

Post

Replies

Boosts

Views

Activity

Is there a way to embed an entitlement into a macOS command line application
I'm making a command line utility and I'd like to check the Focus (nee do not disturb) status which requires the Communications Notifications entitlement as per https://developer.apple.com/forums/thread/682143 The utility itself is not sandboxed. as there is no app bundle, is there a way to assign or embed the entitlement into the binary so I can get access to things like INFocusStatusCenter.default.focusStatus.isFocused (if indeed that is relevant in macOS 12)
0
0
606
Sep ’21
Is there a way to embed an entitlement into a macOS command line application
I'm making a command line utility and I'd like to check the Focus (nee do not disturb) status which requires the Communications Notifications entitlement as per https://developer.apple.com/forums/thread/682143 The utility itself is not sandboxed. as there is no app bundle, is there a way to assign or embed the entitlement into the binary so I can get access to things like INFocusStatusCenter.default.focusStatus.isFocused (if indeed that is relevant in macOS 12)
Replies
0
Boosts
0
Views
606
Activity
Sep ’21