Recording whether my application received a notification

If the application does not work in the foreground, the OS will display a warning with a notification received for this application.

My question is, is it possible for me to set some flag in the device rack, or is there a way to make a note that my application has received a notification?

Beacuse later, when the user launches the application (from SpringBoard, rather than clicking the "View" button in the push message), I need to use the flag (regardless of whether some notifications for this application are received), and it must make some server calls either to get a cached value or the server must update it ... Since some notifications have been received.

+3
source share
1 answer

No, push notification information received and not read is lost, but you can see the value of the icon if you increase it with each notification.

+2
source

All Articles