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?
Asked
Active
Viewed 751 times
4
1 Answers
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
-
I see, but what could a approx lifetime be, 5 min? 1 hour? A day? – Andreas Zita Feb 10 '11 at 19:37
-
@Andreas Expect days rather than minutes but ALWYAS check for changes when your app starts or at other relevant points in your application. – Matt Lacey Feb 14 '11 at 10:19