ionic-team / capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
https://capacitorjs.com
MIT License
12.04k stars 999 forks source link

LocalNotification: Get pending notification content and not just the id #1796

Closed danielsogl closed 4 years ago

danielsogl commented 5 years ago

Description of the problem: Calling the LocalNotifications.getPending() function will only return an array of id's instead of the whole notification items. The Cordova plugin returns the whole notification information. This should be implemented in capacitor too.

Affected platform

OS of the development machine

Capacitor version: Latest

node version: Latest

npm version: Latest

CocoaPods version: Latest

JoshuvaGeorge03 commented 5 years ago

Any update on this issue?

jcesarmobile commented 4 years ago

Issues tagged with feature request are closed but tracked for reactions to gauge interest.

Unkn0wn0x commented 4 years ago

The feature would be awesome. For now, the only workaround I see is to use the devices storage to store the Notification itself, before it gets scheduled.

Hope this will get some attention.

jcesarmobile commented 3 years ago

on @capacitor/local-notifications getPending returns more information about the notification and not just the id, removing the labels

ionitron-bot[bot] commented 1 year ago

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.