无法在Node.js推送通知包中使用证书和密码短语

时间:2018-10-17 14:19:55

标签: node.js npm push-notification node-apn node-gcm

我想通过节点应用程序在Android和IOS设备上发送推送通知。

我正在使用推送通知包。我能够将通知发送到android设备。现在,我想向iOS设备发送通知。

我有一个certificate.pem文件和密码。如您所见,下面的代码只有设置证书和密钥文件的选项。

7 T1 started
5 T1 started
5 T1 finished
4 T1 started
4 T1 finished
1 T1 started
1 T1 finished
6 T1 started
6 T1 finished
3 T1 started
3 T1 finished
1 T2 started --For example,this T2 task was started before some of the T1 tasks
0 T1 started
0 T1 finished
2 T1 started
2 T1 finished
4 T2 started
4 T2 finished
3 T2 started
1 T2 finished
7 T1 finished
0 T2 started
0 T2 finished
2 T2 started
6 T2 started
6 T2 finished
3 T2 finished
1: Both tasks finished

我如何使用证书和密码来发送推送通知。

0 个答案:

没有答案