From 284d2ca70fef11ffff5ad56dda0a8ebaff92ec94 Mon Sep 17 00:00:00 2001 From: Jonas Bark Date: Tue, 4 Nov 2025 20:09:44 +0100 Subject: [PATCH] resolve yet another Sterzo issue https://github.com/jonasbark/swiftcontrol/issues/111#issuecomment-3487265558 --- .github/workflows/patch.yml | 1 + lib/bluetooth/devices/elite/elite_sterzo.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml index 6f7906f..7cd1bb5 100644 --- a/.github/workflows/patch.yml +++ b/.github/workflows/patch.yml @@ -132,6 +132,7 @@ jobs: allowUpdates: true artifacts: "build/macos/Build/Products/Release/SwiftControl.macos.zip" bodyFile: scripts/RELEASE_NOTES.md + prerelease: true tag: v${{ env.VERSION }} token: ${{ secrets.TOKEN }} diff --git a/lib/bluetooth/devices/elite/elite_sterzo.dart b/lib/bluetooth/devices/elite/elite_sterzo.dart index a637169..8d738aa 100644 --- a/lib/bluetooth/devices/elite/elite_sterzo.dart +++ b/lib/bluetooth/devices/elite/elite_sterzo.dart @@ -66,7 +66,7 @@ class EliteSterzo extends BluetoothDevice { ); // Subscribe to measurement notifications - await UniversalBle.subscribeIndications( + await UniversalBle.subscribeNotifications( device.deviceId, service.uuid, measurementChar.uuid, diff --git a/pubspec.yaml b/pubspec.yaml index 2372a09..579dc17 100755 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: swift_control description: "SwiftControl - Control your virtual riding" publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 3.3.2+35 +version: 3.3.2+36 environment: sdk: ^3.9.0