Skip to content

Commit 5d3e75e

Browse files
committed
MOBILE-3507 notifications: Support notifications with big pictures
1 parent bee1e42 commit 5d3e75e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/core/pushnotifications/providers/pushnotifications.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,12 @@ export class CorePushNotificationsProvider {
527527
localNotif.icon = notification.image;
528528
// This feature isn't supported by the official plugin, we use a fork.
529529
(<any> localNotif).iconType = data['image-type'];
530+
531+
localNotif.summary = data.summaryText;
532+
533+
if (data.picture) {
534+
localNotif.attachments = [data.picture];
535+
}
530536
}
531537

532538
Promise.all(promises).then(() => {

0 commit comments

Comments
 (0)