I need to add some arguments to a json payload for APNS service. How can i do this?
this is the documentation of apple: http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ApplePushService/ApplePushService.html#//apple_ref/doc/uid/TP40008194-CH100-SW1
When i try to send a message with close and view buttons, i need to add two more arguments that my mobile application needs.
Any idea?
Not sure if you got the answer yet. But this is what the documentation mentions
So in order to add custom values to your payload, just add them as key-value pairs in your payload. Something like this
Here
custom_key1andcustom_key2are your custom keys andvalue1andvalue2are their values.