-
Couldn't load subscription status.
- Fork 408
Description
[READ] Step 1: Are you in the right place?
- For issues or feature requests related to the code in this repository
file a Github issue.- If this is a feature request make sure the issue title starts with "FR:".
- For general technical questions, post a question on StackOverflow
with the firebase tag. - For general Firebase discussion, use the firebase-talk
google group. - For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
- Operating System version: ubuntu16.04
- Firebase SDK version: _____
- Library version: 5.2.1
- Firebase Product: Firebase Cloud Message
[REQUIRED] Step 3: Describe the problem
I success send push to device using firebase-admin node.js.
I called admin.messageing().sendToDevice(token, payload).then(function(response) {
console.log("Successfully sent message:", response);
});
I didn't using http call to calling admin.messageing().sendToDevice. I just call that function.
Next, I input CLI 'node app.js' for execute that function. Then, I success send message to device. but node process was not terminating.
Why the process not terminate?
kjwook@kjwook-15N540-RFLGL:~/node aa.js
Successfully sent message: { results: [ { messageId: '0:1506502554508960%254b46d6f9fd7ecd' } ],
failureCount: 0,
successCount: 1,
multicastId: 6370642410814556000 }
^[[C^[[A^[[D^[[B