I am using xmpp/css
push implementation, all is fine at server side but I am not receiving any push on device.
So, i need to debug PhoneGap PushPlugin
I am using xmpp/css
push implementation, all is fine at server side but I am not receiving any push on device.
So, i need to debug PhoneGap PushPlugin
Firstly please check whether device id is generated or not at Android App side by checking logs.
If generated, then- Try to use DevHttpClient Google Chrome plugin.
In that, you need to enter
Request URL : android.googleapis.com/gcm/send
Content-Type : application/x-www-form-urlencoded
Authorization : key=API_KEY
And in body :
{
"registration_ids":["XXX Device ID XXX"],
"data":{"message":"Push Notification Test"}
}