<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iOSAppExtension: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NowPlaying",
  "identifier" : "/documentation/NowPlaying/RemoteMediaSessionRepresentable/pushTokenUpdates",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Now Playing",
      "NowPlaying"
    ],
    "preciseIdentifier" : "s:10NowPlaying31RemoteMediaSessionRepresentablePAAE16pushTokenUpdatesScSy10Foundation4DataVGvp"
  },
  "title" : "pushTokenUpdates"
}
-->

# pushTokenUpdates

An asynchronous sequence you use to observe changes to the push token of this remote session.

```
@MainActor var pushTokenUpdates: AsyncStream<Data> { get }
```

## Discussion

Monitor this sequence to receive updated push tokens. When the token changes,
transmit the new token securely to your server so the server can continue to send update
and end push notifications for this session. Invalidate the outdated token promptly so it
cannot be reused, and retain the token only as long as needed to deliver session updates.

For additional information, see [Publishing remote media sessions](/documentation/NowPlaying/publishing-remote-media-sessions)

> Note: Push tokens are device-scoped identifiers. Handle them securely on your
> server (for example, over HTTPS) and follow your app’s privacy policy for any
> data collected alongside them.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)