I\'ve succefuly implemented the GCM for android but when I tried to implement it to my iOS version I won\'t get the push messages.
I got my gcm token at the iOS vers
Unbelievable, had to change "data" with "notification". The payload for iOS is bit different. More info can be found here
I had the same problem, and it's fixed by using content_available and priority options as shown in below documentation:
You should send "content_available":true, and "priority":"high",
https://developers.google.com/cloud-messaging/http-server-ref
Sample JSON request:
{
"content_available":true,
"to":"fd4...23f7",
"priority":"high",
"notification":
{
"body":"anything",
"title":"any title"
}
}