I’m having trouble displaying an image along with a notification sent to my android device. I recieve the notification just fine, but there isn’t an image attached to it.
Here is what I have in in my notification node:
{
"title": "Lucy needs some love",
"message": "Time for a watering",
"data": {
"color": "green",
"images": "/config/www/images/plants/pachira macrocarpa.jpg"
}
}
{
"title": "Lucy needs some love",
"message": "Time for a watering",
"data": {
"color": "green",
"images": "/local/images/plants/pachira macrocarpa.jpg"
}
}
I have tried a couple of other online tutorials, and I don’t seem to be able to get images from any of them. Is there another setting somewhere I need to enable to allow images into the notifications?
I compared this with my only notification that I attach a picture to, and I use the /local/rest-of-the-address format, but I use it with the data image not images, so that may be the problem.
service: notify.mobile_app_wade
data:
message: Prepare for Hell.
data:
image: /local/Pictures/simpsons-fire-gif.gif