0.0.4-f1 • Published 7 years ago
parse-push-service v0.0.4-f1
parsePushService
Installation
npm install parse-push-service --save
Example...
const pushConfig = new PushConfig();
pushConfig.pushServer = Config.pushServer;
pushConfig.pushPort = Config.pushPort;
pushConfig.pushPath = Config.pushPath;
pushConfig.ParseApplicationId = Config.ParseApplicationId;
pushConfig.ParseMasterKey = Config.ParseMasterKey;
pushConfig.ParseRESTAPIKey = Config.ParseRESTAPIKey;
const pushService = new PushServiceBuilder(pushConfig);
// Push!
pushService.sendPushToTargetDevices(targetDevices, alertMessage);