Is it possible to send Local Notifications from Endpoint Security Extension ?
When I was calling below block of code immediately after confirming that process was started
center requestAuthorizationWithOptions:options completionHandler:^(BOOL granted, NSError * _Nullable error)
center addNotificationRequest:request withCompletionHandler:^(NSError * _Nullable error)
getting below error
Requesting authorization failed with error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.usernotifications.usernotificationservice was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.usernotifications.usernotificationservice was invalidated from this process.}
Adding notification request failed with error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.usernotifications.usernotificationservice was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.usernotifications.usernotificationservice was invalidated: failed at lookup with error 3 - No such process.}
Please suggest what i'm missing here to send notification from EPS if it's possible.
Post
Replies
Boosts
Views
Activity
When we deploy our builds(Installation was Not through any management tool.Directly from cmd line) , it add custom app(NetworkFilterApp) to Application Folder.Now we have to restrict our custom app deletion while user trying to do.I'm trying to implement this using a configuration profile .Here i have couple questions
1.allowAppRemoval key which disables removal of apps under restrictions payload works for Mac OS?
2.Using this key can we restrict specific app removal ?
If it was available for MacOs and for specific app Could you please point me to where we can find that or share any reference Document to do this.
If I install an app that includes a system extension I've noticed that when I remove this app the system extension getting uninstall.
As part of our feature(Tamper protection) while we drag the container app to the trash. we shouldn't allow this app deletion and system extension Should be activate and Enabled.
Here we are able to Restrict the app deletion successfully but system extension is getting inactive and terminated.
So is there any way to avoid/handle uninstallation of system extension while drag the container app to the trash.