-
Notifications
You must be signed in to change notification settings - Fork 21
Message seen status
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.
If you have any questions or suggestions, feel free to send an email to support@infobip.com or create an issue.