Skip to content

Message seen status

Davor Komušanac edited this page Dec 5, 2022 · 14 revisions

Any message sent to the end user can have a seen status, it can be either seen or not seen. You can enrich analytics and statistics of sent messages by using Seen status in your mobile application. MM SDK will by default mark messages as seen if user taps on notifications.

To manually mark messages as seen, you call setSeen: function of MobileMessaging with an array parameter containing IDs of the messages:

//Swift
MobileMessaging.setSeen(<# an array of message identifiers #>, callback: {
    // at this moment the seen status updates are persisted, will be sent to the server eventually
})

Mobile Messaging SDK will automatically deliver the status change to the server.

By default a message is being marked as seen automatically after user tapped or performed any other action on the standard iOS push notification alert.

Clone this wiki locally