diff --git a/app/lib/services/devices.dart b/app/lib/services/devices.dart index 65c5212bc28..3127a231ca6 100644 --- a/app/lib/services/devices.dart +++ b/app/lib/services/devices.dart @@ -228,7 +228,8 @@ class DeviceService implements IDeviceService { // Transport exists for this device but disconnected — native handles reconnection. // Don't dispose and recreate the transport; that would cancel native's auto-reconnect. - if (_connection?.device.id == deviceId) { + // But if force=true (user-initiated), reconnect explicitly. + if (!force && _connection?.device.id == deviceId) { return null; } diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 216d65aef22..05e3352cd06 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter project. publish_to: "none" # Remove this line if you wish to publish to pub.dev -version: 1.0.528+795 +version: 1.0.528+796 environment: sdk: ">=3.0.0 <4.0.0"