Skip to content

Commit 711b5a9

Browse files
cg021Egor
authored andcommitted
[image_picker] Add documentation for Android external storage permissions (flutter#2765)
* update README with external storage configuration info * update pubspec.yaml version * format change
1 parent a66c3a2 commit 711b5a9

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
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.6.6+3
2+
3+
* Update README
4+
15
## 0.6.6+2
26

37
* Update lower bound of dart dependency to 2.1.0.

packages/image_picker/image_picker/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@ Add the following keys to your _Info.plist_ file, located in `<project root>/ios
1919

2020
### Android
2121

22+
#### API 29+
2223
No configuration required - the plugin should work out of the box.
2324

25+
#### API < 29
26+
27+
Add `android:requestLegacyExternalStorage="true"` as an attribute to the `<application>` tag in AndroidManifest.xml. The [attribute](https://developer.android.com/training/data-storage/compatibility) is `false` by default on apps targeting Android Q.
28+
2429
### Example
2530

2631
``` dart

packages/image_picker/image_picker/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: image_picker
22
description: Flutter plugin for selecting images from the Android and iOS image
33
library, and taking new pictures with the camera.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/image_picker/image_picker
5-
version: 0.6.6+2
5+
version: 0.6.6+3
66

77
flutter:
88
plugin:

0 commit comments

Comments
 (0)