diff --git a/lib/connector/meshcore_connector.dart b/lib/connector/meshcore_connector.dart index 4fa8412f..0c584367 100644 --- a/lib/connector/meshcore_connector.dart +++ b/lib/connector/meshcore_connector.dart @@ -2250,6 +2250,14 @@ class MeshCoreConnector extends ChangeNotifier { _hasLoadedChannels = true; _previousChannelsCache.clear(); } + + // Fallback: if contact sync was deferred waiting for channel 0 but + // channel sync finished without triggering it, start contacts now. + if (_pendingInitialContactsSync && isConnected) { + _pendingInitialContactsSync = false; + unawaited(getContacts()); + } + // Keep cache on failure/disconnection for future attempts }