i can not show big image in notification in ios when app close or open , but working in android
var display_notification = new firebase.notifications.Notification({
show_in_foreground: true
})
.setNotificationId(notification._notificationId)
.setTitle(notification._title)
.setBody(notification._body)
.setData(notification._data);
if (Platform.OS == "android") {
display_notification.android
.setChannelId("fcm_default_channel")
.android.setSmallIcon("ic_notification")
.android.setBigPicture(notification._data.picture)
.android.setColor("#171551");
} else {
display_notification.ios.addAttachment(
"1",
"https://files.allaboutbirds.net/wp-content/uploads/2015/06/prow-featured.jpg"
);
}
show notification in ios but not display big-image (rich notification )
You can use
IOSNotificationiOS specific notification settings.
Gets the launch image to use with the notification.
Sets the launch image for the notification.
Example
Description of IOSNotification
Description of Displaying Notifications