Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
Derimagia CreditAttribution: Derimagia as a volunteer and at Mindgrub Technologies commentedWhat'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...
Comment #3
iadegesso CreditAttribution: iadegesso commentedHi 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)
Comment #4
tyler.frankenstein CreditAttribution: tyler.frankenstein commented