4

When a subscription has been created by a client/phone on the MPN-server, for how long is it alive? When will it become closed? Do my app-users have to start my app and create a new channel every now and then to keep a connection open?

Eran
  • 387,369
  • 54
  • 702
  • 768
Andreas Zita
  • 7,232
  • 6
  • 54
  • 115

1 Answers1

5

There is no guaranteed lifetime.
The recommendation is to check the subscription every time the application starts and update your remote details as necessary.

Update:
Apparently, the channel should be good until there's 30 days of inactivity or an invalid payload.
In practice, always check when your app starts. :)

Matt Lacey
  • 65,560
  • 11
  • 91
  • 143