Appboy / appboy-ios-sdk

Public repo for the Braze iOS SDK
https://www.braze.com
Other
165 stars 142 forks source link

Getting data #254

Closed IgorGalimski closed 3 years ago

IgorGalimski commented 3 years ago

Hi! How can I get a notification's data? https://www.braze.com/docs/developer_guide/platform_integration_guides/ios/push_notifications/customization/#extracting-data-from-push-notification-key-value-pairs

Screen Shot 2020-09-27 at 11 02 55
hokstuff commented 3 years ago

Hi @IgorGalimski,

You can see the push payload by looking at the userInfo object (like in our sample app here), and the resulting payload will look like the sample payload here. Depending on your integration and how you are testing, there may be other areas to extract the info - if you have any further questions, please forward them to support@braze.com.

Thanks!