Retrieve custom payload data using Cordova SDK


I’m building applications for both Android and iOS using your Cordova SDK. I saw that there is almost nothing to be done except adding the sdk and ask permission for iOS which is great.

But who can I retrieve custom data I put in the notification payload ? For example, I want to push some data to store on my application alongside a notification. My notification will be shown but how to get this data?

Best regards,