Hi all,
I'm working with NB6 on Android8+
If the app receive many notification, you can pull down the list from the top bar and delete all at once clicking on "cancel".
But when the app can run in the background with a foreground service (as for example in the background location tracking) also sticky notification is created. In this case, all the other notifications that the app generate are grouped to the first one. When you pull down the list you can cancel them only one by one with a swipe, but the "cancel" that would remove all of them in a shot is not selectable. Also, when many notification has arrived and have been grouped, you see in the top bar only the icon related to the foreground service. A quick look to the screen does not tell you if you really have notifications.
What I would like is:
1) a sticky notification icon that inform about the foreground service, as it is.
2) another notification icon (I would also use a different color to distinguish if really a new notification is arrived or not) that belong to a separate list, so that you can pull down and cancel all at once.
I did experiments with channels but did not have success.
Also playing with group notification does not bring me to the solution.
https://www.b4x.com/android/forum/threads/nb6-class-additional-functions.104319/#post-659242
Any help ?
I'm working with NB6 on Android8+
If the app receive many notification, you can pull down the list from the top bar and delete all at once clicking on "cancel".
But when the app can run in the background with a foreground service (as for example in the background location tracking) also sticky notification is created. In this case, all the other notifications that the app generate are grouped to the first one. When you pull down the list you can cancel them only one by one with a swipe, but the "cancel" that would remove all of them in a shot is not selectable. Also, when many notification has arrived and have been grouped, you see in the top bar only the icon related to the foreground service. A quick look to the screen does not tell you if you really have notifications.
What I would like is:
1) a sticky notification icon that inform about the foreground service, as it is.
2) another notification icon (I would also use a different color to distinguish if really a new notification is arrived or not) that belong to a separate list, so that you can pull down and cancel all at once.
I did experiments with channels but did not have success.
Also playing with group notification does not bring me to the solution.
https://www.b4x.com/android/forum/threads/nb6-class-additional-functions.104319/#post-659242
Any help ?