Hello,
I currently have a rss feed notification working with the following template:
{"device_types": ["ios"], "notification": {"ios": {"sound": "default", "badge": 1, "alert": "Nuevo Articulo! - {{ title }}"}}, "audience": "all"}
I would like to add a custom key to the template to pass the {{ url }}, I tried to modify the template to:
{"device_types": ["ios"], "notification": {"ios": {"sound": "default", "badge": 1, "alert": "Nuevo Articulo! - {{ title }}"}}, "audience": "all", "articleLink": "{{ url }}"}
But im getting the following error when I try to test the template:
* template
* Could not parse request body.
Is there anyway I can add the custom key to the template? According to the apple apps documentation I should be able to add custom payload to the notifications.
Comments
1 comment