Aggregate multiple Android Notifications #93
Description
Hi there!
I’m looking for a way to aggregate my Android Notifications using this push-plugin, because I want to avoid showing 10 times the same message to the user in the notifications bar…
It should be possible to update existing notifications: https://developer.android.com/guide/topics/ui/notifiers/notifications.html#Updating
I've already talked with @Pip3r4o about that on Slack, here is what he answered to my initial request:
pete.k [10:19 AM]
In the Background Notification demo I did I believe I just pass a certain parameter to the notification service, and no matter how many times the notification is fired, it shows just 1 icon on the notification bar
[10:19]
let me check it out
[10:22]
https://github.com/NativeScript/sample-android-background-services/blob/master/app/notifications/NotificationIntentService.js#L39 You send a specific flag to the Android Intent. I'd post this as an issue in the respective repo so that it gets looked at
Any way you can add that new feature? I guess it could become handy to a lot of projects. 👍
Best,
Sven