in_app_review 0.1.0 in_app_review: ^0.1.0 copied to clipboard
Flutter plugin for showing the In-App Review/System Rating pop up on Android and IOS. Makes it easy for users to rate your app.
in_app_review #
Description #
Flutter plugin that lets you show a system review pop up where users can leave a review for your app without needing to leave it. Alternatively you can open your store listing via a deep link.
Uses the In-App Review API on Android and the SKStoreReviewController on IOS
Usage #
final InAppReview inAppReview = InAppReview.instance;
if (await inAppReview.isAvailable()) {
inAppReview.requestReview();
} else {
inAppReview.openStoreListing(iOSAppStoreId: '<YOUR_APP_STORE_ID>')
}
Guidelines #
https://developer.android.com/guide/playcore/in-app-review#when-to-request https://developer.android.com/guide/playcore/in-app-review#design-guidelines
Since there is a quota on how many times the pop up can be shown, you should not trigger requestReview
via a button or other call-to-action option. Instead, you can reliably redirect users to your store listing via openStoreListing
.
Requirements #
IOS #
Requires IOS version 10.3.
Android #
Requires Android Lollipop(API 21) or higher and the Google Play Store must be installed.
Testing #
IOS #
requestReview
can be tested via the IOS simulator or on a physical device.
Android #
You must upload your app to the Play Store to test requestReview
. An easy way to do this is to build an apk/app bundle and upload it via internal app sharing.
More details at https://developer.android.com/guide/playcore/in-app-review/test
Issues & pull requests are more than welcome!