How to run a store to view?

On a Windows 8 phone, we can use MarketPlaceReviewTaskit so that the user can view our application. On Windows 8, it seems like this is the right way:

Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:REVIEW?PFN=MY_PACKAGE_FAMILY_NAME"));

But how to do it in Windows Phone 8.1, Windows Phone Runtime? What is uri format? thank.

+4
source share
1 answer

This is pretty much the same, except that you need to dynamically add your application id. here is how. It will work after publishing your application in the store (weather is a beta version or production).

Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:reviewapp?appid=" + CurrentApp.AppId));

Hope this helps.

+8
source

Source: https://habr.com/ru/post/1541987/


All Articles