From 968bb0dda341f3420e7cf206bfafffd766e2192d Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Tue, 18 Oct 2022 12:37:53 -0700 Subject: [PATCH 1/2] Update `NSPhotoLibraryUsageDescription` description in README --- packages/image_picker/image_picker/CHANGELOG.md | 4 +++- packages/image_picker/image_picker/README.md | 1 - packages/image_picker/image_picker/pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/image_picker/image_picker/CHANGELOG.md b/packages/image_picker/image_picker/CHANGELOG.md index 1f138ef26118..1ac6a8d77ba2 100644 --- a/packages/image_picker/image_picker/CHANGELOG.md +++ b/packages/image_picker/image_picker/CHANGELOG.md @@ -1,4 +1,6 @@ -## NEXT +## 0.8.6+2 + +* Updates `NSPhotoLibraryUsageDescription` description in README. * Updates minimum Flutter version to 3.0. diff --git a/packages/image_picker/image_picker/README.md b/packages/image_picker/image_picker/README.md index aadfc83ff5e6..2fa20be34859 100755 --- a/packages/image_picker/image_picker/README.md +++ b/packages/image_picker/image_picker/README.md @@ -23,7 +23,6 @@ As a result of implementing PHPicker it becomes impossible to pick HEIC images o Add the following keys to your _Info.plist_ file, located in `/ios/Runner/Info.plist`: * `NSPhotoLibraryUsageDescription` - describe why your app needs permission for the photo library. This is called _Privacy - Photo Library Usage Description_ in the visual editor. - * This permission is not required for image picking on iOS 11+ if you pass `false` for `requestFullMetadata`. * `NSCameraUsageDescription` - describe why your app needs access to the camera. This is called _Privacy - Camera Usage Description_ in the visual editor. * `NSMicrophoneUsageDescription` - describe why your app needs access to the microphone, if you intend to record videos. This is called _Privacy - Microphone Usage Description_ in the visual editor. diff --git a/packages/image_picker/image_picker/pubspec.yaml b/packages/image_picker/image_picker/pubspec.yaml index 7bd8ecfd9b9b..0d6308198891 100755 --- a/packages/image_picker/image_picker/pubspec.yaml +++ b/packages/image_picker/image_picker/pubspec.yaml @@ -3,7 +3,7 @@ description: Flutter plugin for selecting images from the Android and iOS image library, and taking new pictures with the camera. repository: https://github.com/flutter/plugins/tree/main/packages/image_picker/image_picker issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22 -version: 0.8.6+1 +version: 0.8.6+2 environment: sdk: ">=2.14.0 <3.0.0" From e0cc86de266f00c1b1442ad673145b2b7b96c8cc Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Fri, 17 Feb 2023 11:52:49 -0800 Subject: [PATCH 2/2] Update text about App Store policy --- packages/image_picker/image_picker/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/image_picker/image_picker/README.md b/packages/image_picker/image_picker/README.md index 2fa20be34859..8fff8920054c 100755 --- a/packages/image_picker/image_picker/README.md +++ b/packages/image_picker/image_picker/README.md @@ -23,6 +23,7 @@ As a result of implementing PHPicker it becomes impossible to pick HEIC images o Add the following keys to your _Info.plist_ file, located in `/ios/Runner/Info.plist`: * `NSPhotoLibraryUsageDescription` - describe why your app needs permission for the photo library. This is called _Privacy - Photo Library Usage Description_ in the visual editor. + * This permission will not be requested if you always pass `false` for `requestFullMetadata`, but App Store policy requires including the plist entry. * `NSCameraUsageDescription` - describe why your app needs access to the camera. This is called _Privacy - Camera Usage Description_ in the visual editor. * `NSMicrophoneUsageDescription` - describe why your app needs access to the microphone, if you intend to record videos. This is called _Privacy - Microphone Usage Description_ in the visual editor.