Skip to content

Commit 63fa060

Browse files
authored
feat(network_info_plus): Lower requirements to Dart 3.10 and Flutter 3.38.1 (#3802)
1 parent d965e00 commit 63fa060

6 files changed

Lines changed: 32 additions & 11 deletions

File tree

packages/network_info_plus/network_info_plus/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ The functionality is not supported on Web.
1919

2020
## Requirements
2121

22-
- Flutter >=3.41.0
23-
- Dart >=3.11.0 <4.0.0
22+
- Flutter >=3.38.1
23+
- Dart >=3.10.0 <4.0.0
2424
- iOS >=13.0
2525
- macOS >=10.15
2626
- Java 17

packages/network_info_plus/network_info_plus/example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>12.0</string>
24+
<string>13.0</string>
2525
</dict>
2626
</plist>

packages/network_info_plus/network_info_plus/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@
200200
9705A1C41CF9048500538489 /* Embed Frameworks */,
201201
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
202202
C235103B5A4E222F076F28AB /* [CP] Embed Pods Frameworks */,
203+
BAE82DBC6081298949533AA3 /* [CP] Copy Pods Resources */,
203204
);
204205
buildRules = (
205206
);
@@ -323,6 +324,23 @@
323324
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
324325
showEnvVarsInLog = 0;
325326
};
327+
BAE82DBC6081298949533AA3 /* [CP] Copy Pods Resources */ = {
328+
isa = PBXShellScriptBuildPhase;
329+
buildActionMask = 2147483647;
330+
files = (
331+
);
332+
inputFileListPaths = (
333+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
334+
);
335+
name = "[CP] Copy Pods Resources";
336+
outputFileListPaths = (
337+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
338+
);
339+
runOnlyForDeploymentPostprocessing = 0;
340+
shellPath = /bin/sh;
341+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
342+
showEnvVarsInLog = 0;
343+
};
326344
C235103B5A4E222F076F28AB /* [CP] Embed Pods Frameworks */ = {
327345
isa = PBXShellScriptBuildPhase;
328346
buildActionMask = 2147483647;
@@ -453,7 +471,7 @@
453471
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
454472
GCC_WARN_UNUSED_FUNCTION = YES;
455473
GCC_WARN_UNUSED_VARIABLE = YES;
456-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
474+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
457475
MTL_ENABLE_DEBUG_INFO = NO;
458476
SDKROOT = iphoneos;
459477
SUPPORTED_PLATFORMS = iphoneos;
@@ -581,7 +599,7 @@
581599
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
582600
GCC_WARN_UNUSED_FUNCTION = YES;
583601
GCC_WARN_UNUSED_VARIABLE = YES;
584-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
602+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
585603
MTL_ENABLE_DEBUG_INFO = YES;
586604
ONLY_ACTIVE_ARCH = YES;
587605
SDKROOT = iphoneos;
@@ -630,7 +648,7 @@
630648
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
631649
GCC_WARN_UNUSED_FUNCTION = YES;
632650
GCC_WARN_UNUSED_VARIABLE = YES;
633-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
651+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
634652
MTL_ENABLE_DEBUG_INFO = NO;
635653
SDKROOT = iphoneos;
636654
SUPPORTED_PLATFORMS = iphoneos;

packages/network_info_plus/network_info_plus/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<MacroExpansion>
3132
<BuildableReference
@@ -54,11 +55,13 @@
5455
buildConfiguration = "Debug"
5556
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5657
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
58+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
5759
launchStyle = "0"
5860
useCustomWorkingDirectory = "NO"
5961
ignoresPersistentStateOnLaunch = "NO"
6062
debugDocumentVersioning = "YES"
6163
debugServiceExtension = "internal"
64+
enableGPUValidationMode = "1"
6265
allowLocationSimulation = "YES">
6366
<BuildableProductRunnable
6467
runnableDebuggingMode = "0">

packages/network_info_plus/network_info_plus/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ topics:
1010
- utils
1111

1212
environment:
13-
sdk: ">=3.11.0 <4.0.0"
14-
flutter: ">=3.41.0"
13+
sdk: ">=3.10.0 <4.0.0"
14+
flutter: ">=3.38.1"
1515

1616
flutter:
1717
plugin:
@@ -41,7 +41,7 @@ dependencies:
4141
meta: ^1.17.0
4242
network_info_plus_platform_interface: ^3.0.0
4343
nm: ^0.5.0
44-
win32: ^6.0.0
44+
win32: ^6.0.1
4545

4646
dev_dependencies:
4747
flutter_lints: ^6.0.0

packages/network_info_plus/network_info_plus_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ homepage: https://github.com/fluttercommunity/plus_plugins
55
repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/
66

77
environment:
8-
sdk: ">=3.11.0 <4.0.0"
9-
flutter: ">=3.41.0"
8+
sdk: ">=3.10.0 <4.0.0"
9+
flutter: ">=3.38.1"
1010

1111
dependencies:
1212
flutter:

0 commit comments

Comments
 (0)