Closed bhazen closed 7 years ago
@bhazen You can access the original push bundle with notificationInfo.Message.PushBundle
- http://docs.urbanairship.com/reference/libraries/android/latest/reference/com/urbanairship/push/PushMessage.html#getPushBundle()
Thanks, @rlepinski! That was what I needed. Was able to do: var desiredValue = notificationInfo.Message.PushBundle.GetString("key");
In the Android portion of a Xamarin forms project I'm overriding the OnNotificationOpened event like so:
In the messages I'm sending I'm including some additional data as custom keys. I expected to find a property for those on the
notificationInfo.Message
object, but I don't see the custom keys anywhere. Have I just missed where that data is passed or is there currently not a way to access custom keys from the message?