`macosx://` notifications silently fail on macOS 26 due to `terminal-notifier` requires `-sender`
Notification Service(s) Impacted
MacOSX (macosx://)
What happened
Sending a notification via macosx:// reports success (True) but no notification is ever shown on the system.
On macOS 26 (Tahoe), terminal-notifier silently drops notifications unless a -sender argument is provided. The apprise macosx plugin hard-codes the arguments it passes to terminal-notifier and currently has no way to pass -sender, so there is no workaround from the URL.
Directly invoking terminal-notifier reproduces the behaviour:
# Does NOT show a notification on macOS 26
echo 'Piped Message Data!' | terminal-notifier -sound default
# Shows the notification
echo 'Piped Message Data!' | terminal-notifier -sound default -sender meApprise URL(s) involved (redact secrets)
macosx://_/
macosx://_/?sound=defaultSteps to reproduce
- On macOS 26 (Tahoe) with
terminal-notifierinstalled (e.g./opt/homebrew/bin/terminal-notifier). - Run:
import apprise a = apprise.Apprise() a.add('macosx://_/?sound=default') print(a.notify(body='Test', title='Hello')) - Observe that
Trueis printed, but no banner appears.
Environment
- Apprise version: 1.13.0
- Python version: 3.10 (conda env)
- OS and distribution: macOS 26 Tahoe (Darwin 25)
- Install method: source
- terminal-notifier: 2.0.0, installed via Homebrew at
/opt/homebrew/bin/terminal-notifier
Logs (redact secrets)
Running with verbose logging shows the exact command apprise invokes — note there is no -sender:
apprise: DEBUG MacOSX CMD: /opt/homebrew/bin/terminal-notifier -message Test -title Hello -sound default
apprise: INFO Sent MacOSX notification.The process exits 0, so apprise reports success even though the system never displays the notification.
Analysis
NotifyMacOSX.send() in apprise/plugins/macosx.py builds a fixed argument list:
cmd = [
self.notify_path,
"-message",
body,
]
if title:
cmd.extend(["-title", title])
if self.click:
cmd.extend(["-open", self.click])
if self.sound:
cmd.extend(["-sound", self.sound])
if image_path:
cmd.extend(["-appIcon", image_path])
output = subprocess.Popen(cmd)The plugin's template_args only exposes image, sound, and click, and there is no generic argument-passthrough mechanism, so users cannot inject -sender (or any other terminal-notifier flag) via the URL.
The -sender me workaround is confirmed in the upstream terminal-notifier project:
Sending any notifications without
-sender $senderdoes not work. ...echo 'Piped Message Data!' | terminal-notifier -sound default -sender me— macOS Tahoe 26.4.1
Proposed fix
Add a sender option to the macosx plugin so the -sender flag can be set from the URL, e.g.:
macosx://_/?sender=meSuggested implementation: add a sender entry to template_args, parse it in parse_url()/__init__, and append ["-sender", self.sender] in send() when set. This keeps existing behaviour unchanged when the option is omitted.
Source: caronc/apprise