We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS: MacOS 12.3.1 Node: v17.7.1
Is there a setting to make the notification persist? My notification always appear as "Banners" even though I've selected "Alerts" in the OS settings:
notifier.notify({ title: message, message: JSON.stringify(data), sound: true, })
Similarly, but possibly unrelated: The notifications don't show up in my Mac's Notification Center, the way my WhatsApp, Slack, etc messages do.
The text was updated successfully, but these errors were encountered:
Try adding a 'timeout' value. When Notification Centre is on 'Banners', the 'timeout' is ignore, but used when it's set to 'Alerts'
notifier.notify({ title: message, message: JSON.stringify(data), sound: true, timeout: 30 })
Sorry, something went wrong.
Looks like that hack works. I'll just add
notifier.notify({ ... timeout: 99999999999, })
when i want it to stay up until dismissed.
No branches or pull requests
OS: MacOS 12.3.1
Node: v17.7.1
Is there a setting to make the notification persist? My notification always appear as "Banners" even though I've selected "Alerts" in the OS settings:
Similarly, but possibly unrelated: The notifications don't show up in my Mac's Notification Center, the way my WhatsApp, Slack, etc messages do.
The text was updated successfully, but these errors were encountered: