How to fetch custom data from RawPayLoad Onesignal Plugin Notification

How to fetch custom data from RawPayLoad Onesignal Plugin Notification

  


Hi,

I am using OneSignl Plugin & Want to fetch some Additional Data from Notification Server that comes in Key-Value Pair.I am using OneSignalOnNotificationOpened Action & trying to redirect things there.

I also got the log in NotificationOpenedResult.Notification.Payload.RawPayload, And notice the Additional Data is coming under the custom key in JSON String, How could I get the key-value from it.

Thanks,

Assif