ionic-team / ionic-team/capacitor-plugins
PushNotifications totally broken on Android
- Dominant language
- Java
- Stars
- 678
- Forks
- 685
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 3
Description
## Bug Report
### Plugin(s)
PushNotifications
### Capacitor Version
7.0.x
### Platform(s)
Android
### Current Behavior
- [`getDeliveredNotifications()`](https://github.com/ionic-team/capacitor-plugins/pull/2445) throws as the linked PR shows
- [`pushNotificationActionPerformed`](https://github.com/ionic-team/capacitor-plugins/pull/2445) event throws as the linked PR shows
- [`getDeliveredNotifications()`](https://github.com/ionic-team/capacitor-plugins/issues/2317) notification.id is an int
- [`removeDeliveredNotifications()`](https://github.com/ionic-team/capacitor-plugins/issues/2317) does not work when passing a notification from `getDeliveredNotifications()`
- according to documentation `ActionPerformed` object has a key `.notification` that represents the notification as `PushNotificationSchema` object, which is not the case. The `notification` object contains the `id` key merged with the keys from the `data` object. It does not have `title`, `body` and other keys.
Contributor guide
Assessment
This issue has not been assessed yet.