Cloud Messaging, message arrives but data is empty

bluedude

Well-Known Member
Licensed User
Longtime User
Hi,

I'm using GCM and it has worked for me all the time (PHP server side script) but suddenly it seems that no data is arriving on Android.

The MessageArrived event works but I cannot get to the data. Any suggestions?

Cheers,
 

bluedude

Well-Known Member
Licensed User
Longtime User
Sure, but not using Java :)

Erel,

My php script worked too in the past. Not planning to use Java to send messages unfortunately.

Cheers,
 
Upvote 0

bluedude

Well-Known Member
Licensed User
Longtime User
JSON encoding

Hi,

Solved the problem, seems the data wasn't encoded correctly. Now works really good!

Cheers,
 
Upvote 0
Top