smartnav / fcm-notification

Push notificaton for ios and android
25 stars 13 forks source link

BUG #14

Open antoinegilles opened 2 years ago

antoinegilles commented 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 ?

smartnav commented 2 years ago

It should stop as callback function is giving you response. I can check your code if you want.