novu
novu copied to clipboard
feat(providers): Add onesignal push provider new api
What changed? Why was the change needed?
This provider is by new Onesignal recommendation - new user model API. Here is the doc from Onesignal web.
This provider not replace existing player based Onesignal provider, but add new which use last Onesignal user model api.
Screenshots
User si subscribed and set External ID from application database (at most cases). When is External Id set on Onesignal providers - via this methods:
`
include_aliases: {
external_id: options.target,
}
`
Here is link for example GitHub repository - you can see how you can manage OneSignal external UserID, add this to NOVU subscribers, and send some test Push message.
Related enterprise PR
Special notes for your reviewer
This provider not replace existing player based Onesignal provider, but add new which use last Onesignal user model api.