From 806430cedb8bb25eb293dba483c59c50c849dd4e Mon Sep 17 00:00:00 2001 From: Wraient Date: Tue, 14 Jul 2026 04:53:51 +0530 Subject: [PATCH] fix(mobile): don't mark Android VPN/Tailscale as offline when connected On Android, isInternetReachable is often false on Tailscale/VPN even when the interface works, so pairing succeeded over HTTP but the supervisor never opened WebSocket. Prefer isConnected for offline detection. --- apps/mobile/src/connection/platform.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/src/connection/platform.ts b/apps/mobile/src/connection/platform.ts index cc51b56ee70..b8a13137c88 100644 --- a/apps/mobile/src/connection/platform.ts +++ b/apps/mobile/src/connection/platform.ts @@ -33,7 +33,7 @@ import { clearComposerDraftsEnvironment } from "../state/use-composer-drafts"; import { connectionStorageLayer } from "./storage"; function networkStatus(state: Network.NetworkState): "unknown" | "offline" | "online" { - if (state.isConnected === false || state.isInternetReachable === false) { + if (state.isConnected === false) { return "offline"; } if (state.isConnected === true) {