Question:
Can I send images in push-notifications?
Answer:
For iOS please look at iOS10+ Rich Notifications functionality:
It works for Remote API too, just include the following lines in your /createMessage
request:
"ios_root_params" : { "aps" : { "mutable-content" : 1 } , "attachment" : "YOUR_ATTACHMENT_URL" }
For Android you can always use Android Banner:
You just need to specify the image URL in the corresponding field. It also works via Remote API:
"android_banner": "http://example.com/banner.png"
If you are interested in Web Pushes, then you can also send an image to Chrome browsers:
Remote API:
“chrome_image”: “image_url“
Comments
0 comments
Please sign in to leave a comment.