in_app_review_kmp

What is it?

The Flutter plugin that uses kmp-in-app-review library under the hood

Which platforms are supported?

Android and iOS

How to integrate?

  1. Add the dependency to the pubspec.yaml:
in_app_review_kmp: latest-version
  1. Invoke flutter pub get
  2. To launch in-app review call
    InAppReview().launchInAppReview(InAppReviewParams params)
    
  3. To launch in-market review call
    InAppReview().launchInMarketReview(InAppReviewParams params)
    

Note 1

InAppReviewParams is a class that encapsulates the data needed for the library to work with Android and iOS markets. Here's the description of these params:

class InAppReviewParams {
  final AndroidParams androidParams; // params for android markets
  final IOSParams iosParams; // params for ios markets
}

class AndroidParams {
   final AndroidMarket market; // currently supported markets - AndroidMarket.appGallery and AppGallery.googlePlay
}

class IOSParams {
   final String appStoreId; // id of the app in appstore
}