ReviewRepository

Repository that encapsulates the in-app review flow and its persisted state.

Inheritors

Functions

Link copied to clipboard
abstract fun hasPromptedReview(): Flow<Boolean>
Link copied to clipboard
abstract suspend fun incrementSessionCount()
Link copied to clipboard
abstract suspend fun isReviewAvailable(activity: Activity): Boolean

Checks whether the in-app review flow can be requested.

Link copied to clipboard
abstract suspend fun launchReview(activity: Activity): Boolean

Attempts to launch the in-app review flow.

Link copied to clipboard
abstract fun sessionCount(): Flow<Int>
Link copied to clipboard
abstract suspend fun setHasPromptedReview(value: Boolean)