Windows-8.1

Adding app review reminder in Windows phone app without using rate my app toolkit

Reviews are key to your app achieving success.
High ratings in the Windows Phone Store encourage new users to download your app.
So there’s no harm in reminding your users to review your app.

 

I have just prepared a following code which can be useful to you and doesn’t require any toolkit or third party SDK.

So as to use it follow the certain steps given below

 

1. Add the following namespace given below in the MainPage.xaml.cs of the application or the Start page of the application.

  2. Add the following function in the MainPage.xaml.cs of your application.   For Windows 8/Windows 8.1 Silverlight  
For Windows 8.1(WinRT)/Universal app

The code is self-understandable. The only thing you need to do is to set the variable Appname in the code.

For Windows 8.1(WinRT) you need to add the App id also.

 

If you have any doubts you can refer to the following blog post.

http://www.windowsapptutorials.com/windows-phone/isolated-storage/isolated-storage-in-windows-phone-app-store-data-in-isolatedstoragesettings/

 

3. Now call the following function in the constructor of the MainPage.xaml.cs.

 


 

When the user will open the app 4 time the following message will be shown to user.

 


 

If the user click on OK button the Review Page of Application will be shown to user.

If the user rejects the message and clicks on cancel button the same message will be shown to user 7 time. If then also he rejects the option the same process will be repeated in an interval of number 10 as written in the code. Once the user has rated the application the following message will not been shown to user.

 

Important Note:
When you are testing the application in debug state an error message will be shown to you when you click on ok button as shown below.

 


 

Until your application has passed the submission to be included in the store this error message will be shown to you.

 

Note: You can configure the interval according to your need. You can change if condition given in the review function code and set the interval according to your need.

 


 

For example I want to display this message in the interval of 5. I can change the If condition to as shown below.

 


 

I hope this post will be helpful to you. You can download the full project file from the link given below.

Download project file reviewcode.zip

You can also use ratemyapp toolkit for getting feedbacks from the user. The link of the blogpost is given below.

Adding app review and feedback reminder in Windows Phone 8 app using ratemyapp toolkit

Chetan Gulati

Currently am doing B TECH in IT from Delhi Technological University. App development is my passion. Believe in quality rather than quantity.

  • Pingback: Adding app review reminder in Windows phone app without using rate my app toolkit()

  • tonheim

    Is there a Tutorial for this on function Windows 8.1 apps?

    • Not yet but we will try and add one very soon. 🙂

    • Not yet but we will be adding one very soon 🙂

  • Anish Kumar

    Hi,
    Nice Post I have few things to say!

    – I think the method won’t show the Rate Prompt on first launch! as it is only adding the app settings in first launch.
    – If the user has already rated the app the counter “no” will be incrmented every time this method is executed and also will be saved in app setting “review”, this may create an exception if the user has launched the app for more than the int data type size. a simple if condition before ” no++; ” for rcheck == 1 then return; will resolve this !!

    One more thing is when the rr.show(); executes and opens the rate and review form, in the form there is two buttons “submit” and “cancel”.
    If the user clicks on cancel which means the user has not rated the app, but the “review” and “rcheck” values would be changed hence it will never promt the user to rate the app!!!

    Do you know any solution for this??

    • 1. We didnt intend to show the prompt on the first launch, still you could add if(application key does not exist){show prompt}

      2. It wont be a problem in a practical situation, still you could other data types or just the way you suggested

      3. We are updating rcheck only if the message box’s OK button is clicked otherwise we use

      \ settings[“review”] = no;

      Anyways you might consider using RateMyApp toolkit instead of coding it up yourself http://wtuts.me/RateMyApp

      • Anish Kumar

        1. Usually what i like is to fire the method when the user exits the app!
        2. Yup in practical it won’t be a problem, but you will have a bug free code 😉
        3. Nope i am not talking about the Message box which you have coded to appear ,
        as i said earlier the RATE form which appears when the rr.show(); method is executed!

        rr.show(); method will direct to the form (see the picture), if the user clicks cancel the app wouldnt be rated but the settings would have been changed !!

  • Kasper Mathiesen

    Thanks for this.. Great work, tweaked a few things like checking if (check == 0) before calling the rest of the code, but really like it.

  • sahil

    Hi,
    It was working with previous versions of apps created with App studio and adding your codes. With the latest updates to appstudio compatible with windows 10, adding your code changes does work.

    Please look in to this.

    Tnx

  • sahil

    Correction to previous comment of mine

    Hi,
    It was working with previous versions of apps created with App
    studio and adding your codes. With the latest updates to appstudio
    compatible with windows 10, adding your code changes doesn’t work.

    Please look in to this.

    Tnx

Read more:
How to create your first Windows Phone app
How to change the App name and Tile name of your Windows phone app
Data binding in Windows Phone app – One way binding
Close