novu icon indicating copy to clipboard operation
novu copied to clipboard

feat(providers): Add onesignal push provider new api

Open suplere opened this issue 4 months ago • 1 comments

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.

novu-onesignal-nextjs

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.

suplere avatar Oct 29 '24 10:10 suplere