requestReview method

  1. @override
Future<void> requestReview()
override

Attempts to show the review dialog. Check support with isAvailable. If it is not available then you can open the store listing via openStoreListing.

To improve the users experience, iOS and Android enforce limitations that might prevent this from working after a few tries. iOS & MacOS users can also disable this feature entirely in the App Store settings.

More info and guidance: https://developer.android.com/guide/playcore/in-app-review#when-to-request https://developer.apple.com/design/human-interface-guidelines/ios/system-capabilities/ratings-and-reviews/ https://developer.apple.com/design/human-interface-guidelines/macos/system-capabilities/ratings-and-reviews/

Implementation

@override
Future<void> requestReview() {
  if (!_supportsReview) {
    throw UnsupportedError('In-app review is not supported on this platform');
  }
  return _channel.invokeMethod<void>('requestReview');
}