0

I have checked the scenario where i got the text messages notifications on my iPhone device, i read those message from my mac iMessage application then the notification which is there on the device notification tray are automatically disappeared.

How does it work?

Suhas Arvind Patil
  • 1,732
  • 1
  • 19
  • 31

1 Answers1

1

Facebook does that also.

Possibly it's done with a silent push notification that lets the app know that a specific message has been read?

Vrasidas
  • 2,085
  • 1
  • 17
  • 23
  • yeah, so it is handled from server side? – Suhas Arvind Patil Apr 19 '16 at 12:58
  • Yes, there probably is a last_message_read with a specific id, and when this is updated (either from the Mac App, or the iOS app), a silent notification is sent to update the other apps with that information. – Vrasidas Apr 19 '16 at 13:01