Having a successful application on the Windows Phone Marketplace often depends on the number of reviews and rates that users leave. I always leave reviews for the apps that I really use, but not everyone does that, even though they should. In the next update of my application Photo Light, I will ask (bug) users to leave their reviews after certain amount of app usage. In this article I’ll show you how I did it so you can put it in your apps, too! This way, we can help separating great apps from junk apps.

The class I wrote is called ReviewBugger and is my first class I ever made available through NuGet, to make it even more useful to people. It’s available HERE, In order to install it from the Package Manager Console, run the following command

image

You will notice that it depends on Coding4Fun toolkit because it uses it’s MessagePrompt to prompt user to leave review.

How to use ReviewBugger

There are two things you really need to do if you want to use ReviewBugger – install it like I suggested above, and write a few lines of code. First lines of code you need to write should go to Application Launching event handler, where you call the method CheckNumOfRuns.

Then, on whatever Page in your app you wish to prompt user to leave review, make sure that the Page is loaded and then write:

And that’s it! Now, when do I bug the user to leave the review? Mostly, my reasoning was that if the user using the app a lot, then I ask him to review and rate it. I don’t want to be annoying to the people who just downloaded the app, but I want to remind the people who continue to use it that their good reviews and rates encourage me to develop further updates. I’ve come up with the number of 11 runs for my app Photo Light, but you can simply go to ReviewBugger.cs which was added to your project and change the following integer:

The default message that’s displayed to the user is the following: “”Good rates and reviews encourage me to create and release updates for this app. Would you like to rate –APP NAME– now?”

where –APP NAME—is the name of your app. You can change just the name or the whole message if you don’t like the default, it’s the following string:

And that’s it! The user can choose to go and leave the review, do it later or do it never! Fair enough, I’d say.

pl_clanak

The whole class is here:

Go, download it, use it, and get more reviews for your application!

Merry Christmas to all of you who celebrate it! :)