Skip to content

No notification being received. #8

@AdamCollins

Description

@AdamCollins

I am able to push notifications to my machine from OneSignal.com, however I do not receive them when I call the sendNotification function.

console.log('sending');
const OneSignalClient = require('node-onesignal').default;
const client = new OneSignalClient('1111111', '222222');
client.sendNotification('test notification', {
    included_segments: 'all'
});

The 'sending' string is logged but I do not receive any notifications, errors, or send requests on onesignal.com

My node version is 6.110

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions