Andreas Zita
Andreas Zita

Reputation: 7570

WP7: Push Notification Subscription Lifetime?

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?

Upvotes: 4

Views: 754

Answers (1)

Matt Lacey
Matt Lacey

Reputation: 65566

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. :)

Upvotes: 5

Related Questions