When you publish your app on google play store it is important to get feedback from the user. Unless the user does not love or hate your app, they are not likely to go out of their way to rate your app. Since high rating indicates the success of your app, and even criticism is required to make the application better. So, it is better to add a rate me feature in your app which helps you to get the feedback.
Importance of Rate me feature:-
- It improves the rating of your app in play store.
- It helps you to improve your app (find bugs) by getting feedback.
- It helps you to make decision on future updates of your app.
Add the support Library in build.gradle file and add Android-Rate dependency in the dependencies section. This library have a function which redirects the user to google play store and allows them to rate the application. It helps in getting the feedback.
In MainActivity.java file add the following code. This code will add the Rate me feature in the app. The default functions such as setInstallDays allows the dialog box to appear after a certain number of days from the day of install of the app, setLaunchTimes is the minimum number of times the app should be launched by the user and setRemindInterval is the number of days after which the dialog box comes after the user chooses the neutral option (Remind me later).
Attention reader! Don’t stop learning now. Get hold of all the important Java Foundation and Collections concepts with the Fundamentals of Java and Java Collections Course at a student-friendly price and become industry ready.