Configuring a Windows application to send push notifications

This section explains the steps for setting up the application with AppMetrica Push SDK on Windows.

Step 1. Register your app in the dashboard

  1. In the Windows Dev Center, go to Dashboard → Submit your app.
  2. Click App name. Then enter the name of your app and click Reserve name. The name must be unique.

Step 2. Get the identity for your app

  1. Go to the Dashboard and choose the app.
  2. Go to the Services section. Under Push notifications, click Get started.
  3. Under Windows Push Notification Services (WNS) and Microsft Azure Mobile Apps, click the Live Services site link. In the menu on the left, choose App identity.

  4. Note the Application Secrets and Package SID fields. You will need these values for configuring AppMetrica.

    If you use Windows Push Notification Services, these values are also necessary for associating your project with the store in the dashboard. Add these values to your project manifest in one of the following ways:

Step 3. Configure AppMetrica

  1. In the AppMetrica interface, go to the Applications section and select the app that you want to run push campaigns for.
  2. In the menu on the left, select Settings.
  3. Go to the Push notifications tab.
  4. Under Windows, enter the values of Application Secrets and Package SID that you copied from the Windows Dev Center interface in the Client secret and Security ID fields. Changes are saved automatically.