1
I’m trying to get the return of a push on android through the Bundle, but I’m having some problem performing bundle.getString("Message");
as it does not take all my reply which is in JSON format, follows the format of the message:
Message=[
{
"Key": "type",
"Value": "0"
},
{
"Key": "msg",
"Value": "valor"
}
]
the bundle.getString("Message");
brings me the answer only until.
[
{
"Key": "type"
The rest is ignored. Any idea what this problem might be?
There are ways you can show how you are passing this JSON to the Bundle?
– Luccas Melo
http://gcm-alert.appspot.com/ send via this link and in the message field add the json above.
– Caique Oliveira
Okay, you made sure the message is being passed through in one piece?
– Luccas Melo