Our documentation is changing, please click here to enjoy it!

Skip to end of metadata
Go to start of metadata

Define custom URI Scheme

You can define an URI Scheme to be able to use deeplinking in your app.

Open your WMAppManifest.xml in XML Editor and add the following lines in <Extensions></Extensions> and after all <Extension> tags:


After that, you need to listen for the URI. To use a URI mapper class like this one in your app, assign it to the frame of the app in the App.xaml.cs file. In the InitializePhoneApplication method, just after where RootFrame.Navigated is assigned, assign the RootFrame.UriMapper property to your URI mapper class. In the following example, the AssociationUriMapper class is assigned to the frame’s UriMapper property:


Then, use the URI Scheme to redirect to the right Page:


Retrieving Push Custom Parameters

When the user clicks on a notification, the current page is launched or the application is started (depending on whether your application is already started or not). You can manage Custom Params in the Navigated event of the RootFrame:


And your OnRootFrameNavigated:


Retrieving In-App Custom Parameters

When an In-App is displayed, clicked or closed, some Custom Parameters are available. To listen to these Custom Parameters, you can register them to these events:

And in the Tracker_InAppNotificationCustomParameters function:

  • No labels