Skip to content

Commit 2297a54

Browse files
gmackallTecHaxter
authored andcommitted
[image_picker] Update documentation to note that Photo Picker use is non-optional on Android 13+ (flutter#6569)
Fixes flutter/flutter#146934 Fixes flutter/flutter#142132 See the "GET_CONTENT takover" section of https://android-developers.googleblog.com/2023/04/photo-picker-everywhere.html And the linked blog, section "ACTION_GET_CONTENT behavior change" https://medium.com/androiddevelopers/permissionless-is-the-future-of-storage-on-android-3fbceeb3d70a
1 parent 30ed60c commit 2297a54

File tree

6 files changed

+15
-5
lines changed

6 files changed

+15
-5
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+
## 1.1.1
2+
3+
* Updates documentation to note that Android Photo Picker use is not optional on Android 13+.
4+
15
## 1.1.0
26

37
* Adds limit parameter to `MediaOptions` and `MultiImagePickerOptions` which limits

packages/image_picker/image_picker/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ responsibility to move it to a more permanent location.
9595

9696
#### Android Photo Picker
9797

98-
This package has optional
98+
On Android 13 and above this package uses the
9999
[Android Photo Picker](https://developer.android.com/training/data-storage/shared/photopicker)
100-
functionality.
100+
. On Android 12 and below use of Android Photo Picker is optional.
101101
[Learn how to use it](https://pub.dev/packages/image_picker_android).
102102

103103
#### Using `launchMode: singleInstance`

packages/image_picker/image_picker/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ 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/packages/tree/main/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: 1.1.0
6+
version: 1.1.1
77

88
environment:
99
sdk: ^3.3.0

packages/image_picker/image_picker_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.11
2+
3+
* Updates documentation to note that Android Photo Picker use is not optional on Android 13+.
4+
15
## 0.8.10
26

37
* Adds limit parameter to `MediaOptions` and `MultiImagePickerOptions` that sets a limit to how many media or image items can be selected.

packages/image_picker/image_picker_android/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ should add it to your `pubspec.yaml` as usual.
1515

1616
## Photo Picker
1717

18-
This package has optional Android Photo Picker functionality.
18+
On Android 13 and above this packages uses the Android Photo Picker.
19+
20+
On Android 12 and below this package has optional Android Photo Picker functionality.
1921

2022
To use this feature, add the following code to your app before calling any `image_picker` APIs:
2123

packages/image_picker/image_picker_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: image_picker_android
22
description: Android implementation of the image_picker plugin.
33
repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
5-
version: 0.8.10
5+
version: 0.8.11
66

77
environment:
88
sdk: ^3.3.0

0 commit comments

Comments
 (0)