From 4cd4343e4f355d3a8d772fc3fdfe9338b79c8df2 Mon Sep 17 00:00:00 2001 From: Phan Anh Nguyen Date: Fri, 10 Sep 2021 17:06:53 -0500 Subject: [PATCH 1/3] Fix issue #431 'net/route.h' file not found Fix issue #431 network_info_plus: 'net/route.h' file not found when building for iOS emulator --- .../network_info_plus/ios/Classes/getgateway.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/packages/network_info_plus/network_info_plus/ios/Classes/getgateway.c b/packages/network_info_plus/network_info_plus/ios/Classes/getgateway.c index 54596f430c..b7e10c022f 100644 --- a/packages/network_info_plus/network_info_plus/ios/Classes/getgateway.c +++ b/packages/network_info_plus/network_info_plus/ios/Classes/getgateway.c @@ -13,14 +13,8 @@ #include #include "getgateway.h" -#include "TargetConditionals.h" -#if TARGET_IPHONE_SIMULATOR - #include - #define TypeEN "en1" -#else - #include "route.h" - #define TypeEN "en0" -#endif +#include "route.h" +#define TypeEN "en0" #include #include From f9cabd59aedce5ee40d2bb44b849edfe704e6063 Mon Sep 17 00:00:00 2001 From: Phan Anh Nguyen Date: Fri, 1 Oct 2021 13:20:07 -0500 Subject: [PATCH 2/3] Update CHANGELOG.md --- packages/network_info_plus/network_info_plus/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/network_info_plus/network_info_plus/CHANGELOG.md b/packages/network_info_plus/network_info_plus/CHANGELOG.md index fc93a55b1c..7cf3efaf76 100644 --- a/packages/network_info_plus/network_info_plus/CHANGELOG.md +++ b/packages/network_info_plus/network_info_plus/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.1.1 + +- IOS: Fix issue failed to build on iOS emulator + ## 1.1.0 - Android, IOS: Adding IPv6 information From a6ee61dd541b6186179c18c86ed259fc3e4e0fdc Mon Sep 17 00:00:00 2001 From: Majid Date: Fri, 1 Oct 2021 20:42:39 +0200 Subject: [PATCH 3/3] pump version --- packages/network_info_plus/network_info_plus/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/network_info_plus/network_info_plus/pubspec.yaml b/packages/network_info_plus/network_info_plus/pubspec.yaml index 1dbc003419..0d57c2336a 100644 --- a/packages/network_info_plus/network_info_plus/pubspec.yaml +++ b/packages/network_info_plus/network_info_plus/pubspec.yaml @@ -1,6 +1,6 @@ name: network_info_plus description: Flutter plugin for discovering information (e.g. WiFi details) of the network. -version: 1.2.0 +version: 1.2.1 homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/