How to create image notification?

#1

Hello folks!!!

I’m using ionic native FCM plugin for sending push notifications.

I want to send images in notification and don’t know how to do that? Please see below image for reference.

Please help me out.

Thanks in advance. :slight_smile:

#2

Hi!
Any solutions with this issue?

#3

Sadly not with FCM.
But yes, image notification work fine with OneSignal Plugin.

#4

Just change your server side array

Array should be look like this

 "title"=>"Big Picture",
    "message"=>"This is my big picture message",
    "style"=>"picture",
    "picture"=>"http://36.media.tumblr.com/c066cc2238103856c9ac506faa6f3bc2/tumblr_nmstmqtuo81tssmyno1_1280.jpg",
    "summaryText"=>"The internet is built on cat pictures"

Hope this code will help you. if any doubt please let me know
Have a great day ahead.