Table of Contents

Method CheckAsync

Namespace
Titipi.MocaLib2

CheckAsync()

Checks whether an update is available and how urgent it is. Call at startup and again when the app resumes (after FirebaseModule.RefreshRemoteConfigAsync if you want fresh thresholds — this method re-reads Remote Config on every call, no re-init needed). A Soft result means "prompt the player now": returning it starts the SoftPromptCooldownDays window, during which further checks report None. Force is never rate-limited. Every failure mode (Editor, sideloaded build, malformed versions, missing key) degrades to Unknown/None — never a false prompt.

public static Awaitable<AppUpdateCheckResult> CheckAsync()

Returns

Awaitable<AppUpdateCheckResult>