How to selectively delete Android Firebase Notifications (in the System Tray)
04:01 15 May 2017

According to documentation, Firebase for Android Notifications are delivered to the System Tray when the app is in the background.

How to I retrieve all Notifications and selectively delete the ones based on some logic? (Of course, I'll determine the logic, but how do I retrieve them and identify them?)

Is it correct to use NotificationManager to delete notifications in the System Tray?

Any code example would be appreciated. Thanks!

android firebase push-notification android-notifications firebase-cloud-messaging