You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to use this adaptor, everything seems to be ok and I call Parse.Push.send and the response is true but no notification in onesignal dashboard and device! any idea ?
var OneSignalPushAdapter = require('parse-server-onesignal-push-adapter');
var oneSignalPushAdapter = new OneSignalPushAdapter({
oneSignalAppId:"***",
oneSignalApiKey:"***"
});
var api = new ParseServer({
...,
push: {
adapter: oneSignalPushAdapter
}
});
Parse.Push.send({
channels: [ "All" ],
data: {
alert: "The Giants won against the Mets 2-3."
}
}, {
useMasterKey: true
})
.then(function(red) {
response.success(red);
}, function(error) {
response.error("Error while trying to send push " + error.message);
});
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to use this adaptor, everything seems to be ok and I call
Parse.Push.send
and the response is true but no notification in onesignal dashboard and device! any idea ?Thanks
The text was updated successfully, but these errors were encountered: