28
Views
0
Comments
[OneSignal Plugin] Can you have it return the returned JSON?
Question
onesignal-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile

Can you have it return the returned JSON?

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

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

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

PostNotification

SendPushNotificationToDevice

This will take you less than FIVE MINUTES to do, and won't have any impact to backward compatibility. 

Thanks in advance.

Nathan

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