AlwaysOnlineConnectivityChecker

Default used on jvm/ios. assumes online and lets the HTTP call fail-and-retry rather than probing reachability — upgrade to NWPathMonitor (ios) / a real jvm probe if false-positives ever cost a bad UX.

Functions

Link copied to clipboard

Whether observeIsOnline is a real push observer or the single-shot default above.

Link copied to clipboard
open override fun isOnline(): Boolean
Link copied to clipboard

Live connectivity observer. Default is a single-shot Flow of the current isOnline value (no push updates) — override for a real observer. KonnectionConnectivityChecker does.