ObserveIfAppUpdateRequiredUseCase

Observes ServerConfigs and checks if App needs to be updated for each of it. Checking happens every CHECK_APP_VERSION_FREQUENCY_MS milliseconds, or when config was added into DB.

Return

Flow emits true if at least one ServerConfig requires app updating, false - otherwise.

Inheritors

Functions

Link copied to clipboard
abstract suspend operator fun invoke(currentAppVersion: Int): <Error class: unknown class><Boolean>