diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 436ca97..e1859f1 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -3,7 +3,7 @@ github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username -ko_fi: fs0c13ty # Replace with a single Ko-fi username +ko_fi: op3nsoc13ty # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry liberapay: OpenSociety diff --git a/android/fastlane/metadata/android/en-US/changelogs/28.txt b/android/fastlane/metadata/android/en-US/changelogs/28.txt new file mode 100644 index 0000000..c7e75da --- /dev/null +++ b/android/fastlane/metadata/android/en-US/changelogs/28.txt @@ -0,0 +1 @@ +Bug fix for scan for devices not working \ No newline at end of file diff --git a/lib/pages/host_scan_page/host_scan_bloc/host_scan_bloc.dart b/lib/pages/host_scan_page/host_scan_bloc/host_scan_bloc.dart index 4b87331..eb7e4d8 100644 --- a/lib/pages/host_scan_page/host_scan_bloc/host_scan_bloc.dart +++ b/lib/pages/host_scan_page/host_scan_bloc/host_scan_bloc.dart @@ -60,6 +60,7 @@ class HostScanBloc extends Bloc { Future initializeWifiParameters(Emitter emit) async { final wifiGatewayIP = await NetworkInfo().getWifiGatewayIP(); + ip = await NetworkInfo().getWifiIP(); if (appSettings.customSubnet.isNotEmpty) { gatewayIp = appSettings.customSubnet; } else if (wifiGatewayIP != null) { @@ -67,7 +68,7 @@ class HostScanBloc extends Bloc { } else { // NetworkInfo().getWifiGatewayIP() is null on android 35, so fail-safe // to NetworkInfo().getWifiIP() - gatewayIp = ip = await NetworkInfo().getWifiIP(); + gatewayIp = ip; } if (gatewayIp == null) { emit(const HostScanState.error()); diff --git a/pubspec.yaml b/pubspec.yaml index 39df1dc..2043df1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: A Network Analyzer publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 1.0.9+27 +version: 1.0.9+28 environment: sdk: ">=2.17.0 <3.0.0"