From 74c9831ec7ca59938f90fc3e9713405962cff24c Mon Sep 17 00:00:00 2001 From: louis <869322496@qq.com> Date: Tue, 26 Mar 2024 17:03:27 +0800 Subject: [PATCH] feat: save image to photolib --- android/app/src/main/AndroidManifest.xml | 1 + lib/services/dio.service.dart | 7 +++--- lib/util/media_util.dart | 22 ++++++++++--------- lib/widgets/image_preview.dart | 28 +++++++++++++++++++++++- 4 files changed, 43 insertions(+), 15 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index c3cbeff..feb0cbd 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -10,6 +10,7 @@ android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" + android:requestLegacyExternalStorage="true" android:windowSoftInputMode="adjustResize">