Library to wrap Google's new in-app reviews-feature, which let you rate apps without switching to the Play Store!
Flutter: https://pub.dev/packages/advanced_in_app_review
iOS: https://github.com/grizzly/AppRating
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.grizzly:android-in-app-reviews:{latest.version}'
}
Google encourages developers not to spam users with review requests right when they first start an app, instead asking studios to prompt people only after they've used the application for a while. Developers also shouldn't interrupt users in the middle of a task. After leaving a review or aborting, people should be able to continue whatever they were doing seamlessly.
Android decides when and if such a review view will be presented to the user. So please do not wonder if the view is not presented during debugging. As Google also noted, it will not be working in debug mode. Please see https://developer.android.com/guide/playcore/in-app-review/test
Android In-App-Reviews provides methods to configure its behavior.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
GNTReviewManager.with(this)
.setInstallDays(2) // default 10, 0 means install day.
.setLaunchTimes(3) // default 10
.setRemindInterval(2) // default 1
.setDebug(false) // default false
.monitor();
// Show a dialog if meets conditions
GNTReviewManager.showRateDialogIfMeetsConditions(this);
}
Testing can be done on testing tracks in Google Play — Internal Testing, Alpha, or Beta. Publish your app there and make sure that your current Google Account hasn’t reviewed the app yet. There are no quotas in testing tracks, so you will always see the dialog. If you send a rating, it won’t be added as a review but as a testing feedback.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request