node-onesignal icon indicating copy to clipboard operation
node-onesignal copied to clipboard

Node.js wrapper for the One Signal API

Results 8 node-onesignal issues
Sort by recently updated
recently updated
newest added

Hi, I am getting error : TypeError: apickli.Apickli is not a constructor when i am trying to use Sendpostrequest .js again in my next step in a scenario. Below is...

This will allow users to update tags, timezones, etc. See documentation [here](https://documentation.onesignal.com/reference#edit-device)

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...

I appreciated for this awesome lib. I'd like to send headings data with contents in payload. Please update !! Thanks again

``` > root@ip-172-31-41-200:/usr/share/nginx/html/webapps/node_modules/node-onesignal/dist# node > var OneSignalClient = require('node-onesignal'); undefined > var client = new OneSignalClient('1', '2'); TypeError: OneSignalClient is not a constructor at repl:1:14 at ContextifyScript.Script.runInThisContext (vm.js:23:33) at REPLServer.defaultEval...

This will make it easier for new users (like myself) to know how to get response and error values without having to look at the tests/code.

There is a typo in `README.md`: > // create a new *clinet*