From 408ed1f922fb52fd8a8ca9207bf68d074a7aa317 Mon Sep 17 00:00:00 2001 From: Muhammad AbdulMoiz Date: Sun, 15 Mar 2020 11:27:28 +0500 Subject: [PATCH] Update push_notification.js --- push_notification/push_notification.js | 1 + 1 file changed, 1 insertion(+) diff --git a/push_notification/push_notification.js b/push_notification/push_notification.js index 85866b7..ead62ac 100644 --- a/push_notification/push_notification.js +++ b/push_notification/push_notification.js @@ -8,6 +8,7 @@ var options = { passphrase: "APN_PASSPHRASE", cert : "CERTIFICATE_FOR_APN" }; +// How to get GCM KEY ? Follow instructions on link: https://pushalert.co/blog/how-to-get-gcm-api-key-project-number/ var sender = new gcm.Sender("GCM_API_KEY"); var apnConnection = new apn.Connection(options); var PushNotification = function(){};