Parameters
Query Items
Query notification tray items for the signed-in user, keeping the pagination handle while the tray screen is active.Mark an Item Seen
Mark an individual notification item seen after the user opens or views that item.Notes
- TypeScript marks one or more items by ID through
markItemsSeen. - iOS and Android expose
markSeen()on theAmityNotificationTrayItemmodel returned by the tray item query. - Use the platform-specific item ID field when routing from a tray item to a target screen: TypeScript
_id, iOSnotificationId, and AndroidgetId(). - Dispose live collection subscriptions or notification tokens when the notification tray screen is destroyed.
Related Topics
Notification Tray Status
Manage overall notification tray seen status.
Notification Events
Reference action and category values returned on tray items.