node-notifier icon indicating copy to clipboard operation
node-notifier copied to clipboard

OSX timeout + wait = no action tigger after

Open devildant opened this issue 8 years ago • 3 comments
trafficstars

hello,

i try to set the timeout with wait option but after x time if i click to open the notify just close. if i click on the button few time after that the notification open is work. my code :

var nc = new notifier.NotificationCenter();
nc.notify({
	icon: icone,
	appIcon: icone,
	'title': title,
	'message': message,
	'wait' : true,
	'timeout' : 3600,
	"closeLabel" : "close",
	"actions" : "open",
}, function(error, response, metadata) {
	if (metadata.activationType == "actionClicked")
	{
		 console.log("click");
	 }
	}
});

devildant avatar Jun 15 '17 19:06 devildant

another problem i i set an timeout at 60, after 60sec the notification not disappears if i run multi notification

devildant avatar Jun 21 '17 18:06 devildant

This might be related to memory leak workaround from before. Have you tried the master branch?

mikaelbr avatar Aug 01 '17 09:08 mikaelbr

New version on NPM now, hopefully this fixes it.

mikaelbr avatar Jan 13 '18 20:01 mikaelbr