Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions push_notification/push_notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(){};
Expand Down