This article describes how to interface with the Miracle Games SDK's positive reviews interface to open the Microsoft Store's reviews window.
The triggering mechanism of the positive feedback function can be to reach the corresponding level, open a certain function or other forms, but the time of triggering should be controlled within the first 5 minutes of the new player's normal gameplay, the score of the positive feedback is a key reference index of Microsoft's release of resources, and also affects the subsequent sustained resources, so please make sure that developers pay attention to the positive feedback function.
public async void isRatingReview()
{
if (!MiracleGames.ApplicationManager.SetupCompletedSuccessfully)
return;
var result = await MiracleGames.ApplicationManager.IsRatingReviewedAsync();
if (result.ReturnValue)
//result.ReturnValue==true: The user has made a positive comment.
//result.ReturnValue==false: The user has not made a favourable comment
}
MiracleGames.ApplicationManager.ShowRatingReviewAsync();
var result = await MiracleGames.ApplicationManager.ShowRatingReviewAsync();
if (result.ReturnValue)
{
// The user has completed the positive feedback action
}