Windows Phone notifications force device uri update RRS feed

  • Question

  • I have a question about Push Notifications. As far as I know, when the App starts, it checks if exists a push channel and, if not, it creates a new channel. Also there is an event which starts when the uri is changed. And this Uri gets expired after 30 days.

    But what I would like to know is: I want to send these notifications even if the user does not have the app running (let's suppose for a long time, more than 30 days).

    1. Is posible to detect the Uri changed if the App is not running?

    2. Could I force somehow device uri update?

    Edit: I have read this information:

    Each time your app starts, you should pass the URI from your push channel to the cloud service that sends out the push notifications. It is also recommended that you pass the device ID to your cloud service so that the cloud service can track to which devices the URIs are assigned. If a URI changes, then the cloud service can replace the old URI for that device ID. Windows Phone does not provide a framework to do this, since in most scenarios apps and cloud services already have their own protocols that they use to communicate with each other.

    From here

    According to the text, my cloud service could send the new URI to the device, instead of updating the uri from the client? If so, do you know how could I do this?

    • Edited by Programmer23 Friday, February 14, 2014 8:32 AM New information
    Friday, February 14, 2014 8:10 AM


All replies