Skip to content

Commit 76d6098

Browse files
authored
[shared_preferences] Bump minimum Flutter version and iOS deployment target (flutter#4357)
1 parent b073e6e commit 76d6098

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

packages/shared_preferences/shared_preferences/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.8
2+
3+
* Update minimum Flutter SDK to 2.5 and iOS deployment target to 9.0.
4+
15
## 2.0.7
26

37
* Add iOS unit test target.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
<string>arm64</string>
2626
</array>
2727
<key>MinimumOSVersion</key>
28-
<string>8.0</string>
28+
<string>9.0</string>
2929
</dict>
3030
</plist>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@
443443
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
444444
GCC_WARN_UNUSED_FUNCTION = YES;
445445
GCC_WARN_UNUSED_VARIABLE = YES;
446-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
446+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
447447
MTL_ENABLE_DEBUG_INFO = YES;
448448
ONLY_ACTIVE_ARCH = YES;
449449
SDKROOT = iphoneos;
@@ -493,7 +493,7 @@
493493
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
494494
GCC_WARN_UNUSED_FUNCTION = YES;
495495
GCC_WARN_UNUSED_VARIABLE = YES;
496-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
496+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
497497
MTL_ENABLE_DEBUG_INFO = NO;
498498
SDKROOT = iphoneos;
499499
TARGETED_DEVICE_FAMILY = "1,2";

packages/shared_preferences/shared_preferences/example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ description: Demonstrates how to use the shared_preferences plugin.
33
publish_to: none
44

55
environment:
6-
sdk: ">=2.12.0 <3.0.0"
7-
flutter: ">=1.9.1+hotfix.2"
6+
sdk: ">=2.14.0 <3.0.0"
7+
flutter: ">=2.5.0"
88

99
dependencies:
1010
flutter:

packages/shared_preferences/shared_preferences/ios/shared_preferences.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Wraps NSUserDefaults, providing a persistent store for simple key-value pairs.
1717
s.public_header_files = 'Classes/**/*.h'
1818
s.dependency 'Flutter'
1919

20-
s.platform = :ios, '8.0'
21-
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
20+
s.platform = :ios, '9.0'
21+
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
2222
end
2323

packages/shared_preferences/shared_preferences/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ description: Flutter plugin for reading and writing simple key-value pairs.
33
Wraps NSUserDefaults on iOS and SharedPreferences on Android.
44
repository: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+shared_preferences%22
6-
version: 2.0.7
6+
version: 2.0.8
77

88
environment:
9-
sdk: ">=2.12.0 <3.0.0"
10-
flutter: ">=2.0.0"
9+
sdk: ">=2.14.0 <3.0.0"
10+
flutter: ">=2.5.0"
1111

1212
flutter:
1313
plugin:

0 commit comments

Comments
 (0)