Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build Test App

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

permissions:
contents: read
Expand Down Expand Up @@ -33,13 +33,13 @@ jobs:
cpu: pi4
steps:
- uses: actions/checkout@v4

- uses: subosito/flutter-action@v2
with:
cache: true
channel: stable
flutter-version: 3.38.4
flutter-version: 3.41.0

- name: Install dependencies & Activate as global executable
run: |
flutter pub get
Expand All @@ -60,7 +60,7 @@ jobs:
echo '::group::flutterpi_tool build ... --debug'
flutterpi_tool build --arch=${{ matrix.arch }} --cpu=${{ matrix.cpu }} --debug --debug-symbols --verbose
echo '::endgroup::'

echo '::group::flutterpi_tool build ... --profile'
flutterpi_tool build --arch=${{ matrix.arch }} --cpu=${{ matrix.cpu }} --profile --debug-symbols --verbose
echo '::endgroup::'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ name: Flutter

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

permissions:
contents: read
Expand All @@ -21,16 +21,16 @@ jobs:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
steps:
- uses: actions/checkout@v4

- uses: subosito/flutter-action@v2
with:
cache: true
channel: stable
flutter-version: 3.38.4
flutter-version: 3.41.0

- name: Install dependencies
run: flutter pub get

- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .

Expand Down
5 changes: 4 additions & 1 deletion lib/src/devices/flutterpi_ssh/device_discovery.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ class FlutterpiSshDeviceDiscovery extends PollingDeviceDiscovery {
}

@override
Future<List<Device>> pollingGetDevices({Duration? timeout}) async {
Future<List<Device>> pollingGetDevices({
Duration? timeout,
bool forWirelessDiscovery = false,
}) async {
timeout ??= Duration(seconds: 5);

final entries = config.getDevices();
Expand Down
3 changes: 3 additions & 0 deletions test/src/fake_device_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ class FakeDeviceManager implements fl.DeviceManager {

@override
fl.Device? getSingleEphemeralDevice(List<fl.Device> devices) => null;

@override
void stopExtendedWirelessDeviceDiscoverers() {}
}

class FakeFilter extends Fake implements fl.DeviceDiscoverySupportFilter {
Expand Down
Loading