Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use a more unique identifier for NSUserNotification instances (#…
…17483) 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.
- Loading branch information