Hi,
I'm trying to send to my phones a push message via rules in which the notification message is a JSON string like the following one (compliant to the format defined by the "phonegap-plugin-push" project):
{"title": "my title", "message": "my message", "additionalData": { "key": "value", ... }}
But, when my App is closed, the push notification in the notifications bar shows me "my title" as the notification title, but the message in the next line is the whole JSON string sent via rules.

Please help me!

Iade Gesso (MSc & PhD in Computer Science) - Teacher at the High School

Comments

iadegesso created an issue. See original summary.

Derimagia’s picture

What's the raw payload you are getting? The payload looks a bit weird. Take a look at https://developer.apple.com/library/ios/documentation/NetworkingInternet...

iadegesso’s picture

Hi Derimagia, I solved my problem contributing to your post about custom payload :) it works well for me :)

Best regards

Iade Gesso (MSc & PhD in Computer Science)

tyler.frankenstein’s picture

Category: Feature request » Support request
Priority: Critical » Normal
Status: Active » Closed (works as designed)