Apple Push notifications.

This commit is contained in:
Martin Donnelly 2016-04-29 10:34:00 +01:00
parent 2680bfe47a
commit a25d4df2ac

3
app.js
View File

@ -61,9 +61,10 @@ var settings = {
expiresAfter: 4 * 7 * 24 * 3600, // 4 weeks
}
};
var push = new require('node-pushnotifications')(settings);
var push = require('node-pushnotifications')(settings);
push
mqttConnect.setEmitter(busEmitter);
mqttConnect.doConnection();