onesignal-node-api
onesignal-node-api copied to clipboard
OneSignal Node Client
### What happened? I'm using node Js to trigger notifications using external Ids even though the notifications are getting triggered for all users. I'm facing issues when triggering device specific...
### What's on your mind? Provide an API to support the case mentioned in the subject. Thank you! ### Code of Conduct - [X] I agree to follow this project's...
### What happened? I'm integrating OneSignal for push notifications in my Next.js application. Everything works perfectly in the local environment. However, after deploying to Vercel, the notifications fail intermittently, especially...
### What happened? The REST API makes it possible to send notifications to a list of users given their external ids: https://documentation.onesignal.com/reference/create-notification#platform-to-deliver-to However the sdk doesn't seem to make it...
### What happened? When trying to add filters to a notification but not only with `Filter` instances but also with `Operator` instances, the serialization process first turns all values of...
### What happened? Title says it all. ### Steps to reproduce? ```Markdown 1. Try to send ios_interruption_level in the api request 2. It wont be sent to onesignal with this...
### What happened? I have some cases of sending push notifications where I cannot identify the errors and the createNotification function does not return any information about the error. ###...
### What's on your mind? Am getting this warning now: ``` (node:59969) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to...
### What's on your mind? The SDK uses ApiException for sending API exceptions but clients can only read string from this object. Clients should be able to easily get fields...
### What happened? Sending notification using "included_segments" works, however swapping this to use "include_subscription_ids" fails with a 400 error with no meaningful error message ``` const app_key_provider = { getToken()...