Local notifications not working on a macOS

If you are connected via remote access, sharing your screen, or using screen mirroring on a macOS, notifications may not appear by default. To ensure that notifications pop up, you need to enable the following setting:

- Open System Settings.
- In the left panel, select “Notifications”
- Enable the “Allow notifications when mirroring or sharing the display” setting

Once this setting is enabled, notifications will work as expected, even when using remote access or sharing/mirroring your screen.