Skip to content
New issue

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

timeout option doesn't work #401

Open
mahmoudAcm opened this issue Mar 12, 2022 · 2 comments
Open

timeout option doesn't work #401

mahmoudAcm opened this issue Mar 12, 2022 · 2 comments

Comments

@mahmoudAcm
Copy link

import Notifier from 'node-notifier';

Notifier.notify({
    message: folder.message,
    title: folderPath.split('\\').reverse()[0],
    wait: true,
    timeout: 10,
});
@MuhammadButt1995
Copy link

^ has anyone figured this out yet?

Having the same issue with WindowsToaster running on Windows 10.

No matter what values I place for 'wait' or 'timeout' nothing is working. Notifications are not waiting for user interaction / ALWAYS time out within 5 seconds. Notifications still appear in the notification/action center, but callback functions do not work (notification clicked/dismissed or buttons clicked on notification in action center do not send any response back).

MacOS Notifications via NotificationCenter are working as expected with proper wait/timeout values, just Windows notifications are not working.

@gertst
Copy link

gertst commented Mar 27, 2024

Same issue here... any updates or alternatives to have a notification that has no timeout?

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants