I notice that for apps like Google Hangout, Facebook etc. when I get a push notification for any event (people writing on my wall, etc.), if I view the event on my desktop, it will clear the push notification (which I have not cleared myself or opened the app for) on my iPhone.
How can I implement the same?
Right now i'm using this app for implementing my push's.
I customized the above, but the implementation is similar. Do I need to send any special data to the phone to clear all notifications from my app?