I'm trying to develop an app that avoid other apps notifications to show up in the notifications panel. Is this possible? To detect that an app is "creating" a notification and not show it.
Thanks
While Notifying dev needs to pass a unique ID for their application.
public void notify (int id, Notification notification)
Parameters
id An identifier for this notification unique within your application.
While canceling you need to pass that ID to cancel notification. Even cancelAll(); will only cancel previous notification of that App only. So it is impossible to remove other app notification from Stock Android.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With