# Mark Notification Tray Seen

Use `markTraySeen()` to update the tray’s seen timestamp on the server when the user visits the Notification Tray screen.

This method supports global-level read tracking, separate from per-item seen state. Once invoked, future calls to `getNotificationTraySeen()` will return the new `isSeen` value. It is recommended to call this method as soon as the tray UI is opened.

<figure><img src="https://2352509137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX0mOAVWkotGme0iRzu%2Fuploads%2FWlpNORtVbmKbLMCjyVge%2FExplore.jpg?alt=media&#x26;token=b95b5651-54cb-483a-a2b4-6d9be4ffeffb" alt=""><figcaption><p>Have new notification</p></figcaption></figure>

<figure><img src="https://2352509137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX0mOAVWkotGme0iRzu%2Fuploads%2FfSmTjd69QHNg5VioMlPG%2FMy%20Communities.jpg?alt=media&#x26;token=439960fe-d35f-4a43-95b0-7b87b002cc83" alt=""><figcaption><p>Notification already seen</p></figcaption></figure>

{% tabs %}
{% tab title="iOS" %}
{% embed url="<https://gist.github.com/amythee/b48d79ffc410f8d55c1b9bb759b1bf73>" %}
{% endtab %}

{% tab title="Android" %}
{% embed url="<https://gist.github.com/48cf5214b0007d4fee540b53bab5f2c2>" %}
{% endtab %}

{% tab title="Web" %}
{% embed url="<https://gist.github.com/amythee/fda232837ec10e401fccacd386006815>" %}

{% endtab %}
{% endtabs %}
