locked
Where is the samples of push notification and in-app purchase for C++?

    Question

  • The existed samples and blogs are for C# and Javascript. Any C++ samples?
    Saturday, November 23, 2013 3:57 PM

Answers

  • Hi Charlie C. Li,

    Welcome here!

    Here are the samples for you:

    This sample shows how a client app can register and listen for push notifications that are sent from a web server. Push notifications can be used to update a badge or a tile, raise a toast notification, or launch a background task. Periodic notifications act in the other direction, polling a web server for tile or badge content at a fixed time interval.

    The sample demonstrates the following actions:

    • Requesting a channel URI through which the push notifications will be sent
    • Renewing a channel
    • Listening for push notifications from the web server
    • Polling a web server for updated tile content
    • Polling a web server for updated badge content

    Push and periodic notifications client-side sample

    This sample demonstrates how to perform in-app feature or product purchases operations and use the licensing API provided by the Windows Store to determine the license status of an app or a feature that is enabled by an in-app purchase.

    Trial app and in-app purchase sample

    I hope it is helpful!

    Regards!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, November 25, 2013 8:54 AM
    Moderator