|
|
|
|
|
by benjamincburns
4816 days ago
|
|
> On iOS when a remote push notification is received it there is not indication sent to the application at all. I'm not well versed in push notifications, but I thought this was part of the value that a company like Urban Airship would provide? |
|
The actual push notification itself is entirely untrackable unless the recipient actually taps on it, or it is received while your app is running. IIRC you can read out the application's badge number, but that only shows you what the most-recently-received notification was (if it set a badge value), it implies nothing about any intermediate ones. There is no way to list the notifications, nor count them. You can do this with local ones you generated yourself, but not ones pushed to the device.
While someone is actively in your app, you do get a method called that gives you the notification as it arrives - which is handy, because the system entirely mutes it (doesn't go into the notification center, doesn't appear at the top of the screen). You can do that to do a negative tracking system ("they didn't receive this, don't count it in the stats"), or to show it yourself.