INNER CODE UNIT · Dart

InAppReview

britannio/in_app_review · in_app_review/lib/in_app_review.dart:5

class InAppReview {
  InAppReview._();

  static final InAppReview instance = InAppReview._();

  /// Checks if the device is able to show a review dialog.
  ///
  /// On Android the Google Play Store must be installed and the device must be
  /// running **Android 5 Lollipop(API 21)** or higher.
  ///
  /// iOS devices must be running **iOS version 10.3** or higher.
  ///
  /// MacOS devices must be running **MacOS version 10.14** or higher
  Future<bool> isAvailable() => InAppReviewPlatform.instance.isAvailable();

  /// Attempts to show the review dialog. It's recommended to first check if
  /// the device supports this feature via [isAvailable].
  ///

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…