in_app_review

pub package

In-App Review Android Demo In-App Review IOS Demo

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/MacOS

Usage

import 'package:in_app_review/in_app_review.dart';

final InAppReview inAppReview = InAppReview.instance;

if (await inAppReview.isAvailable()) {
    inAppReview.requestReview();
} else {
    inAppReview.openStoreListing(appStoreId: '<YOUR_APP_STORE_ID>')
}

Guidelines

https://developer.apple.com/design/human-interface-guidelines/ios/system-capabilities/ratings-and-reviews/

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

Android

Requires Android 5 Lollipop(API 21) or higher and the Google Play Store must be installed.

IOS

Requires IOS version 10.3

MacOS

Requires MacOS version 10.14

Testing

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.

IOS

This plugin can be tested via the IOS simulator or on a physical device.

MacOS

This plugin can be tested by running your MacOS application locally.

More details at https://developer.android.com/guide/playcore/in-app-review/test

Issues & pull requests are more than welcome!

Libraries

in_app_review