DefaultReviewRepository
class DefaultReviewRepository(preferences: ReviewPreferencesDataSource, dispatchers: DispatcherProvider) : ReviewRepository(source)
Data-layer implementation that coordinates persisted review metadata and Play review requests.
The repository dispatches its own work, so callers can invoke it from anywhere. launchReviewFlow puts a dialog in front of the activity it is given, so it runs on the main thread whatever dispatcher the caller is on; awaiting the Play task suspends rather than blocks, so nothing is held up by that. The availability check reads the package manager, which is binder IPC, so that one goes to IO.