5
Views
1
Comments
[OneSignal API Ext] Can you have it return the returned JSON?
Question
onesignal-api-ext
Mobile icon
Forge asset by Harlin Setiadarma
Application Type
Mobile

Can you have it return the returned JSON?

You just need to add an "out" variable to:

  • PostNotification
  • SendPushNotificationPlayerIdsList
  • SendPushNotificationToAll
  • SendPushNotificationToDevice
  • SendPushNotificationToPlatform
  • SendPushNotificationToPlayerID
  • SendPushNotificationToTag
  • SendPushNotificationToTags
  • SendPushNotificationToUserId
  • SendPushNotificationToUserIdList

This will enable us to retrieve the ID for the notification sent.

PostNotification

SendPushNotificationToDevice

Thanks in advance.

Nathan

2024-03-25 06-19-08
Harlin Setiadarma

Why the whole json if you can return just the ID? 

I will approve you into this plugin's team. 

Thanks for your contribution. 

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