Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 701fdb6

Browse files
authored
[image_picker] Bump minimum Flutter version and iOS deployment target (#4335)
1 parent 3d32b36 commit 701fdb6

File tree

7 files changed

+16
-10
lines changed

7 files changed

+16
-10
lines changed

packages/image_picker/image_picker/CHANGELOG.md

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

37
* Fix README Example for `ImagePickerCache` to cache multiple files.

packages/image_picker/image_picker/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ First, add `image_picker` as a [dependency in your pubspec.yaml file](https://fl
1111

1212
### iOS
1313

14+
This plugin requires iOS 9.0 or higher.
15+
1416
Starting with version **0.8.1** the iOS implementation uses PHPicker to pick (multiple) images on iOS 14 or higher.
15-
As a result of implementing PHPicker it becomes impossible to pick HEIC images on the iOS simulator in iOS 14+. This is a known issue. Please test this on a real device, or test with non-HEIC images until Apple solves this issue.[63426347 - Apple known issue](https://www.google.com/search?q=63426347+apple&sxsrf=ALeKk01YnTMid5S0PYvhL8GbgXJ40ZS[…]t=gws-wiz&ved=0ahUKEwjKh8XH_5HwAhWL_rsIHUmHDN8Q4dUDCA8&uact=5)
17+
As a result of implementing PHPicker it becomes impossible to pick HEIC images on the iOS simulator in iOS 14+. This is a known issue. Please test this on a real device, or test with non-HEIC images until Apple solves this issue. [63426347 - Apple known issue](https://www.google.com/search?q=63426347+apple&sxsrf=ALeKk01YnTMid5S0PYvhL8GbgXJ40ZS[…]t=gws-wiz&ved=0ahUKEwjKh8XH_5HwAhWL_rsIHUmHDN8Q4dUDCA8&uact=5)
1618

1719
Add the following keys to your _Info.plist_ file, located in `<project root>/ios/Runner/Info.plist`:
1820

packages/image_picker/image_picker/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/image_picker/image_picker/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@
684684
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
685685
GCC_WARN_UNUSED_FUNCTION = YES;
686686
GCC_WARN_UNUSED_VARIABLE = YES;
687-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
687+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
688688
MTL_ENABLE_DEBUG_INFO = YES;
689689
ONLY_ACTIVE_ARCH = YES;
690690
SDKROOT = iphoneos;
@@ -734,7 +734,7 @@
734734
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
735735
GCC_WARN_UNUSED_FUNCTION = YES;
736736
GCC_WARN_UNUSED_VARIABLE = YES;
737-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
737+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
738738
MTL_ENABLE_DEBUG_INFO = NO;
739739
SDKROOT = iphoneos;
740740
TARGETED_DEVICE_FAMILY = "1,2";

packages/image_picker/image_picker/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 image_picker plugin.
33
publish_to: none
44

55
environment:
6-
sdk: ">=2.12.0 <3.0.0"
7-
flutter: ">=1.10.0"
6+
sdk: ">=2.14.0 <3.0.0"
7+
flutter: ">=2.5.0"
88

99
dependencies:
1010
video_player: ^2.1.4

packages/image_picker/image_picker/ios/image_picker.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ Downloaded by pub (not CocoaPods).
1717
s.source_files = 'Classes/**/*'
1818
s.public_header_files = 'Classes/**/*.h'
1919
s.dependency 'Flutter'
20-
s.platform = :ios, '8.0'
20+
s.platform = :ios, '9.0'
2121
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
2222
end

packages/image_picker/image_picker/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ description: Flutter plugin for selecting images from the Android and iOS image
33
library, and taking new pictures with the camera.
44
repository: https://github.com/flutter/plugins/tree/master/packages/image_picker/image_picker
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
6-
version: 0.8.4+1
6+
version: 0.8.4+2
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)