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 <michel@michel-slm.name>
This commit is contained in:
Michel Alexandre Salim 2021-03-01 15:19:21 -08:00
parent 589833c0e2
commit bcebca01e2
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

View File

@ -13,7 +13,8 @@
<application
android:name=".Application"
android:label="FluffyChat"
android:icon="@mipmap/ic_launcher">
android:icon="@mipmap/ic_launcher"
android:requestLegacyExternalStorage="true">
<activity
android:name=".MainActivity"
android:launchMode="singleTask"