electron/atom/browser/notifications/mac
Samuel Attard 45d90e77b7
fix: use a more unique identifier for NSUserNotification instances (#17469)
So although apple has it documented that notifications with duplicate identifiers in the same session won't be presented.  They apparently forgot to mention that macOS also non-deterministically and without any errors, logs or warnings will also not present some notifications in future sessions if they have a previously used identifier.

As such, we're going to truly randomize these identifiers so they are
unique between apps and sessions.  The identifier now consists of a
randomly generated UUID and the app bundle id.
2019-03-20 09:53:20 -07:00
..
cocoa_notification.h
cocoa_notification.mm fix: use a more unique identifier for NSUserNotification instances (#17469) 2019-03-20 09:53:20 -07:00
notification_center_delegate.h refactor: move notifications from brightray to atom (#15209) 2018-10-17 20:01:11 +02:00
notification_center_delegate.mm
notification_presenter_mac.h
notification_presenter_mac.mm refactor: move notifications from brightray to atom (#15209) 2018-10-17 20:01:11 +02:00