OS X - Adjusting notification centre settings - Preference?

wilesd
New Contributor III

Hey guys,

I want to adjust an alert style company wide in notification centre for a specific app from Banner to Alert but struggling to work out how Apple stores this information.

Has anyone been doing it? I can't find much in OS X - Tracked down the notification centre sqlite database but it doesn't appear to contain anything related to alert style, and can't find a preference nor does composer pick up anything whilst monitoring file system changes.

4 REPLIES 4

bentoms
Honored Contributor III
Honored Contributor III

I tried this using Terminal Notifier but didn't get far, hope it makes sense:

https://github.com/alloy/terminal-notifier/issues/44

Instead we use CocoaDialog & the bubble alert.

pchang
New Contributor

Have you had any luck with this?

bentoms
Honored Contributor III
Honored Contributor III

Nope. Moved onto using CocoaDialog for my persistent notifications.

mm2270
Legendary Contributor II

I'll need to do some searching again to locate it, but I recall reading a good blog entry from a developer that explained the process as Apple has designed it with regards to Notification Center and those display options. The bottom line seemed to be that, developers essentially get one shot (first notification) at trying to set those display options, but from then on, the end user has complete control over how they will show up from any app, or even IF they will show up. This is by design. I guess think about it, How much would it suck if a developer was able to continually change the NC options for their app to display an Alert style message (requires user intervention to dismiss) even if you chose to stop receiving those messages. No-one would like that, so poor user experience. I get it, even if it means it makes things hard for admins like us.
Of course, ironically Apple doesn't follow this same rule, as its almost impossible to stop receiving NC messages about updates to apps or the OS. I guess because… they're Apple and they can do what they want?