Skip to content

This plugin allows to kindly ask users to rate your app if custom conditions are met (eg. install time, number of launches, etc...).

License

Notifications You must be signed in to change notification settings

nuzelac/rate_my_app

Repository files navigation

Rate my app !

This plugin allows to kindly ask users to rate your app if custom conditions are met (eg. install time, number of launches, etc...).

Rate my app is really inspired by Android-Rate.

How it works

Rate my app takes two parameters :

  1. minDays Minimum elapsed days since the first app launch.
  2. minLaunches Minimum launches.

If everything above is verified, the method shouldOpenDialog will return true (false otherwise). Then you should call showRateDialog which is going to show a native rating dialog on iOS and a custom rating prompt dialog on Android.

Screenshots

On Android

Android screenshot

On iOS

No screenshot for the moment. If you have one, please don't hesitate to submit it !

Example

RateMyApp rateMyApp = RateMyApp(
  minDays: 7,
  minLaunches: 10,
  remindDays: 7,
  remindLaunches: 10,
);
rateMyApp.init();

if(rateMyApp.shouldOpenDialog) {
  rateMyApp.showRateDialog(
    context,
      title: 'Rate this app',
      message: 'If you like this app, please take a little bit of your time to review it !\nIt really helps us and it shouldn\'t take you more than one minute.',
      rateButton: 'RATE',
      noButton: 'NO THANKS',
      laterButton: 'MAYBE LATER',
  );
}

Dependencies

This library depends on two other libraries :

Please note that app_review requires you to do some added steps for the plugin to work (see How to use paragraph) :

It's important to note that the App ID must match the App ID in Google Play and iTunes Connect. This can be changed in the Info.plist on iOS and app/build.gradle on Android. You will use this App ID for other services like Firebase, Admob and publishing the app.

About

This plugin allows to kindly ask users to rate your app if custom conditions are met (eg. install time, number of launches, etc...).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Dart 79.4%
  • Kotlin 11.1%
  • Swift 4.2%
  • Ruby 4.1%
  • Objective-C 1.2%