Answer the question
In order to leave comments, you need to log in
How to get information on an already sent notification?
Hello.
There is an app that sends notifications.
How can I get information about the status of already sent notifications from this application? (read, hidden, deleted)
UPDATE: Thanks
to
https://toster.ru/user/thelongrunsmoke for the help
Answer the question
In order to leave comments, you need to log in
Until the 18th, the well-known approach works with checking the PendingIntent assigned to the notification.
Starting from the 18th there is a NotificationListenerService. But, more precisely, BUT, access to notifications is required, which can only be obtained by asking the user to provide it manually.
From the 23rd you can use getActiveNotifications() in NotificationManager.
Bottom line: you probably don't need it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question