ReviewManager

actual class ReviewManager

Manager for requesting the system to show a Review Dialog. This library does not guarantee such a dialog will be shown, as the OS may block such an action.

Parameters

reviewManager

The com.google.android.play.core.review.ReviewManager managing the reviews.

lifecycleManagerObserver

The LifecycleManagerObserver to observe lifecycle changes.

actual class ReviewManager

Apple implementation of ReviewManager. Shared across iOS (10.3+) and macOS (10.14+), both of which ship SKStoreReviewController.requestReview(). The OS schedules the prompt against the active scene/window itself, so the Builder only needs the LifecycleSubscribable marker — no platform-specific lifecycle subscription is required for the request to dispatch.

expect class ReviewManager

Manager for requesting the system to show a Review Dialog. This library does not guarantee such a dialog will be shown, as the OS may block such an action.

Constructors

Link copied to clipboard
constructor(reviewManager: ReviewManager, lifecycleManagerObserver: LifecycleManagerObserver = LifecycleManagerObserver())
constructor()

Types

Link copied to clipboard

Builder for creating a ReviewManager

Builder for creating a ReviewManager

Link copied to clipboard

Type of Review Manager in use

Functions

Link copied to clipboard
actual suspend fun attemptToRequestReview()

Attempts to show a dialog that asks the user to submit a review of the app. This method does not guarantee such a dialog will be shown as the OS may block it.

actual suspend fun attemptToRequestReview()

Attempts to show a dialog that asks the user to submit a review of the app. This method does not guarantee such a dialog will be shown as the OS may block it.

expect suspend fun attemptToRequestReview()

Attempts to show a dialog that asks the user to submit a review of the app. This method does not guarantee such a dialog will be shown as the OS may block it.