Open antoinegilles opened 2 years ago
Hey,
When i use the function "send", all is good. I have the message "Successfully sent message..." but the problem is that my function not stopping.
fcm.send(message, function (err, response) { if (err) { console.log('ERREUUUUURRR ', err); } else { console.log('Notification envoyé à : ', response); return } return })
i try to return it but nothing append, my script is still running . Can you help me please ?
It should stop as callback function is giving you response. I can check your code if you want.
Hey,
When i use the function "send", all is good. I have the message "Successfully sent message..." but the problem is that my function not stopping.
fcm.send(message, function (err, response) { if (err) { console.log('ERREUUUUURRR ', err); } else { console.log('Notification envoyé à : ', response); return } return })
i try to return it but nothing append, my script is still running . Can you help me please ?