ionic-team / ionic-team/capacitor-plugins

[FR]: Adding data only push notifications for communication (and other) style display of notifications

Open
#1,673 2 comments 0 reactions 0 assignees View on GitHub
platform: ios
Dominant language
Java
Stars
678
Forks
685
Avg merge
4d 22h
Merged PRs (30d)
3

Description

## Feature Request

### Plugin
Capacitor Push Notifications

### Description
1. Add functionality to create rich chat message notifications. Creating more meaningful notifications helps drive engagement and response times.

Documentation to implement:
https://developer.android.com/develop/ui/views/notifications/group

Add functionality to hook into the following 2 lines on the notification builder:

.setLargeIcon(emailObject.getSenderAvatar())
.setGroup(GROUP_ID)

My proposal would be to allow data only notifications for Capacitor's Push Notifications. This would give us the ability to handle the presentation style of notifications. It'd also be great if we could also add actions in the push notifications.

NOTE:
I'm aware this functionality is available on local notifications, but this doesn't help when your relying on push (as our app will be closed often). Essentially trying to get a system similar to what Whatsapp, Signal, etc have with their notifications (always displays rich notifications with actions, regardless if in foreground / background or closed).

### Platform(s)
iOS (communication notifications - https://developer.apple.com/videos/play/wwdc2021/10091/)
Android (Group notifications - https://developer.android.com/develop/ui/views/notifications/group)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.