From bcebca01e29d623b5426f6c37c8bd8346f4ca158 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Mon, 1 Mar 2021 15:19:21 -0800 Subject: [PATCH] Fix `image_picker` for Android >= Q Per https://pub.dev/packages/image_picker, the image picker plugin needs legacy external storage permission on Android Q and above for now; it does not yet support the new permission model. Fixes #306. Signed-off-by: Michel Alexandre Salim --- android/app/src/main/AndroidManifest.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 3411808c..1693f2c2 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -13,7 +13,8 @@ + android:icon="@mipmap/ic_launcher" + android:requestLegacyExternalStorage="true">