Rate Me is an Android library that shows dialog to suggest the user to rate the application in the Google Play Store.
With a little twist: if the rating is positive, we take the user to the Play Store directly. Otherwise, we ask him for feedback via email. (This is all configurable.)
This repository is forked from androidsx/rate-me repository.
What is new:
- Rate-Me dialog is not dismissed when clicked outside
- Slovak, Czech and Polish localizations
This library can be integrated to your project using jitpack.io.
Add this repository in your build.gradle
:
repositories {
maven { url "https://jitpack.io" }
}
Add this dependency in your build.gradle
:
dependencies {
compile 'com.github.marekfri:rate-me:v4.2.4'
}
The simplest integration:
new RateMeDialog.Builder(getPackageName())
.enableFeedbackByEmail("[email protected]")
.build()
.show(getFragmentManager(), "plain-dialog");
Have a look at the sample project for other examples.
You can make the dialog appear after a number of times your app has been opened or after a number of days after the install date:
RateMeDialogTimer.onStart(this);
if (RateMeDialogTimer.shouldShowRateDialog(this, 7, 3)) {
// show the dialog with the code above
}
Licensed under the MIT License. See the LICENSE.md file for more details.