Why don't I see badges on my app when I use AWS pinpoint to send messages?

0

I have rawContent message with custom variables message: Attributes.Badge is 4

My rawContent JSON message after create campage:

{ "APSNMessage": { "aps": { "alert": { "title": "Hello", "body": "World!" }, "badge": "{{Attributes.Badge}}", "sound": "default", "content-available": 1 } }, "GCMMessage": { "notification": { "title": "Hello", "body": "World!", "badge": "{{Attributes.Badge}}" } } }

Could you please let me know after the message was sent to my iOS device what the value of the badge field is? It could be 4, "4" or "{{Attributes.Badge}}". Also, does the system field like badge change when using message variables? Thank you.

Kaito
gefragt vor einem Monat75 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen