I am sending push notification from my server using php.
$post\_values = array ( 'registration\_ids' =\> array("MY\_TOKEN\_HERE", 'data' =\> array("alert" =\> "hi"), 'delay\_while\_idle' =\> true, );
When I use this code, I get a push with the message “Hi”.
How can I send some custom parameters here?
The Corona docs for Push Notifications specifies how to send custom parameters for local notifications. How to do the same for push notifications?
This link :http://developer.android.com/google/gcm/server.html specifies all possible paramters for the message payload. But it makes no mention of custom paramters.
How can this be done?