parse-server-onesignal-push-adapter
OneSignal push adapter for parse-server
Installation
npm install --save parse-server-onesignal-push-adapter
Usage
var OneSignalPushAdapter = require('parse-server-onesignal-push-adapter');
var oneSignalPushAdapter = new OneSignalPushAdapter({
oneSignalAppId:"your-one-signal-app-id",
oneSignalApiKey:"your-one-signal-api-key"
});
var api = new ParseServer({
push: {
adapter: oneSignalPushAdapter
},
...otherOptions
});