Open deveshmishra34 opened 5 years ago
same issue for me please help
same issue, any update for this ??
I got solution for this, I'm using (firebase messaging cordova plugin). Now you can directly send notification with image from firebase or you can add image key with valid image url in notification Object. Android will handle it self.
Notification Object: { data: [] image: "" priority: "HIGH" title: "Your title goes here", message: "Your message goes here." }
@deveshmishra34 How do i send notification using firebase console ?
@luckyplayone Go to Firebase console -> Select Project -> In Grow Section -> Select Cloud messaging -> New Message you will see something like this; If you want you can paste image url in "Notification image (Optional)"
Expected Behaviour
Send Notification with big picture
Actual Behaviour
In Ionic 3 it is working fine. But same code not working in Ionic 4.
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 8, Android 9
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Oneplus 5t, Emulator Pixel 2
Cordova CLI version and cordova platform version
I'm using capacitor
Plugin version
phonegap-plugin-push 2.2.3
Sample Push Data Payload
{ data: { title: 'Big Picture', message: 'This is my big picture message', picture: 'http://36.media.tumblr.com/c066cc2238103856c9ac506faa6f3bc2/tumblr_nmstmqtuo81tssmyno1_1280.jpg', style: 'picture' }, to: 'FCM_KEY' }