Skip to content

Android library that shows a dialog to let the user rate this app in the Google Play store

License

Notifications You must be signed in to change notification settings

androidsx/rate-me

Repository files navigation

Rate-Me Android Arsenal

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.)

How to integrate

Add this dependency in your build.gradle:

dependencies {
    compile 'com.androidsx:rate-me:4.0.3'
}

Find the latest version in Maven Central.

How to use

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.

Automatic timer

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
}

License

Licensed under the MIT License. See the LICENSE.md file for more details.

About

Android library that shows a dialog to let the user rate this app in the Google Play store

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages