[OneSignal Plugin] Title on push notifications
Mobile icon
Forge component by Platform Maintenance

Hi guys, 

I needed to send a push notification with the Title and the message as the screenshot below shows:

By looking at the rest api documentation looks like that in order to set the title we should send the headings parameter:

So I went into OneSignal API where the call to that rest API is made and added a new parameter called headings of the same type as messages. Also exposed that parameter on every action calling PostNotification.

Now I can successfully send push notifications with title and message through one signal plugin.

Are you planning on releasing this feature on official version ?

I'm sorry if I resurrecting old post, but I made this plugin that extends original OneSignalAPI to include headings.

Maybe more feature will be developed later on.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.